Advertisement ยท 728 ร— 90

Posts by Backpack for Laravel

Post image

#Laravel Tip ๐Ÿ’ก

Middleware groups are great โ€” until one route needs an exception.

Laravelโ€™s withoutMiddleware() lets you exclude inherited middleware on a single route without restructuring your routes ๐Ÿš€

19 hours ago 0 0 0 0
Post image

#Laravel Tip

Did you know... You can conditionally throw exceptions in one line with throw_if() โ€” perfect for clean controllers & services.

1 day ago 0 0 0 0

No feedback = confused users:

โ€œDid it save?โ€
โ€œDid it fail?โ€

Fix it in seconds โ€” because silence is not UX.
prologue/alerts โ†’ boom ๐ŸŽ‰

Seamless alert bubbles by @driesvints. Thanks for doing the heavy lifting!

2 days ago 0 0 0 0
Post image

#Laravel #PHP

Do you prefer sending mail inline or using a Mailable class? ๐Ÿ‘‡

3 days ago 0 0 0 0
Video

Ever had that moment when you realize you
forgot a $fillable field
โ€ฆagain? ๐Ÿ˜…

4 days ago 0 0 0 0
Post image

Do you?

6 days ago 0 0 0 0

Which #Laravel method prevents N+1 queries?

A) join()
B) load()
C) with()
D) eager()

Answer Quick๐Ÿ‘‡

1 week ago 0 0 0 0
Post image

Curious about the raw SQL behind your #Laravel Eloquent queries? ๐Ÿง

Simply use the toSql() method to reveal the exact SQL statement being executed!

1 week ago 0 0 0 0
Advertisement

Drop your answer โ€” most devs get this wrong ๐Ÿ‘‡

Which file runs FIRST in #Laravelโ€™s request lifecycle?

A) routes/web.php
B) public/index.php
C) app/Http/Kernel.php
D) bootstrap/app.php

1 week ago 0 0 0 0

DX wisdom in the replies ๐Ÿ‘‡

Which #Laravel feature most improves DX for you?

A) Blade
B) Eloquent
C) Artisan
D) Service Container

1 week ago 0 0 0 0

๐Ÿ’ก #Laravel Tip

Controllers shouldnโ€™t be โ€œsmartโ€ ๐Ÿ‘‡

Where should business logic live? Senior devs โ€” whatโ€™s your take?

A) Traits
B) Models
C) Service classes
D) Observers

2 weeks ago 0 0 0 0
Video

๐ŸŒ Before Backpack: 5 hours making admin panels.
๐Ÿš€ After Backpack: 5 minutes.

Do you agree?

let other know in the comments. Thanks๐Ÿ™

2 weeks ago 0 0 0 0
Post image

There should be a better way ๐Ÿ‘€

Right?

2 weeks ago 0 0 0 0
Preview
New Package: Backpack/Test-Generators As your project matures, you start writing tests for your application. Hell, you might even do TDD and have it tested as you built it....

backpackforlaravel.com/articles/ne...

2 weeks ago 0 0 0 0

You just finished your admin panelโ€ฆ Now comes writing tests ๐Ÿ˜ฉ

The problem isnโ€™t writing tests.
Itโ€™s writing the same tests 50 times.

Backpack Test Generators solve that. ๐Ÿ‘‡

Automate the boring stuff.
Generate tests in minutes.

Focus on what matters. โฐ Build. Ship Fast. Repeat.

2 weeks ago 0 0 1 0
Advertisement
Post image

๐Ÿค” Ever need to display big numbers without overwhelming users?

Laravelโ€™s Number::abbreviate() turns this:

1500000 => 1.5M

Perfect for dashboards, stats, and UI clarity ๐Ÿš€

2 weeks ago 1 0 0 0
Post image

Upgrade now in minutes:
backpackforlaravel.com/docs/7.x/cr...
backpackforlaravel.com/docs/7.x/up...
(just two commands for most cases)

3 weeks ago 0 0 0 0
Post image

โœจ New in Backpack v7: Chips!

Tired of messy admin tables? Show complex info in compact, readable blocks โ€” no more cluttered tables.

Perfect for dashboards, tables, lists, show pages, and widgets.

3 weeks ago 0 1 1 0
Post image

Wanna know the raw SQL behind your #Laravel Eloquent query? ๐Ÿง

Simply use the toSql() method to reveal the exact SQL statement being executed!

3 weeks ago 0 0 0 0

Knowing this changes how you structure #Laravel apps๐Ÿ‘‡
Whatโ€™s the purpose of app()->bind()?

A) Singleton creation
B) Dependency injection
C) Event handling
D) Model binding

If you know this, youโ€™re past the basics. Drop your answer ๐Ÿ‘‡

3 weeks ago 1 0 1 0
Post image

๐Ÿค” Need to pair two related lists by index?

#Laravelโ€™s zip() makes it effortless:

3 weeks ago 0 0 0 0
Post image

#Laravel Tip ๐Ÿ’ก

Middleware groups are great โ€” until one route needs an exception.

Laravelโ€™s withoutMiddleware() lets you exclude inherited middleware on a single route without restructuring your routes ๐Ÿš€

3 weeks ago 1 0 0 0
Preview
Blade Components :: 7.x Docs AboutBlade components are a quick way for you to output a bit of HTML... that can then be customized by each Backpack theme. It's a clean way of...

Curious how these reusable Blade components work?

Check out and see how easily you can drop tables, forms, and grids anywhere in your admin:
backpackforlaravel.com/docs/7.x/ba...

4 weeks ago 0 0 0 0
Post image

๐Ÿš€ Backpack v7

Now you can use data tables, forms & grids anywhere โ€” dashboards, custom pages, modals, whatever.

4 weeks ago 0 0 1 0
Advertisement
Post image

Did you knowโ€ฆ With #Laravelโ€™s incrementEach() and decrementEach() methods, you can easily update multiple counter columns in a single query:

1 month ago 0 0 0 0

๐Ÿ’ฌ Drop a #Laravel Tip

Security breakdown in the replies ๐Ÿ‘‡

What protects Laravel forms from CSRF?

A) Middleware
B) Tokens
C) Sessions
D) All of the above

1 month ago 0 1 0 0
Post image

#Laravel Tip

โš ๏ธ Are you updating records while looping with lazy()?

lazy() paginates using offsets.
If your update changes the query condition, rows can be skipped or processed twice.

lazyById() paginates by primary key instead โ€” stable, predictable, safe.

Thatโ€™s why it exists ๐Ÿš€

1 month ago 1 0 0 0
Preview
Auto Translate

For more details, visit:

backpackforlaravel.com/products/au...

1 month ago 0 0 0 0
Post image

๐Ÿค– Auto-translate your app using AI

Create or update content, and Backpack Autoโ€‘Translate magically fills in all languages for you. ๐ŸŒโœจ

Supports DeepL, OpenAI, Claude โ€” just install & watch translations happen ๐Ÿš€

1 month ago 0 0 1 0
Post image

๐Ÿ’ก #Laravel Tip

Ever get lost in a huge route list?
Use the --path flag to filter routes by URI:

Perfect for quickly narrowing down routes while debugging ๐Ÿš€

1 month ago 0 0 0 0