laravelbackpack's profile picture. The most flexible admin panel for Laravel developers - 2.5M downloads and counting 📈 Follow us for tips & tricks on Laravel, Backpack & admin panels 💻

Backpack for Laravel

@laravelbackpack

The most flexible admin panel for Laravel developers - 2.5M downloads and counting 📈 Follow us for tips & tricks on Laravel, Backpack & admin panels 💻

🏠 #Laravel devs, which local server do you rely on for smooth development?


#Laravel Tip Did you know... You can conditionally throw exceptions in one line with throw_if() — perfect for clean controllers & services.

laravelbackpack's tweet image. #Laravel Tip

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

#Laravel Tip Did you know... filled() is smarter than has() — it also checks that the value isn't null or empty.

laravelbackpack's tweet image. #Laravel Tip

Did you know... filled() is smarter than has() — it also checks that the value isn't null or empty.

#Laravel Tip Did you know.... tap() = Tweak and Return 🪄 Yes, Laravel's tap() lets you modify an object and return it — perfect for clean, chainable code.

laravelbackpack's tweet image. #Laravel Tip

Did you know.... tap() = Tweak and Return 🪄

Yes, Laravel's tap() lets you modify an object and return it — perfect for clean, chainable code.

#Laravel Tip Did you know about… `whereAny()` method that can search multiple columns using OR logic in a cleaner way!👇

laravelbackpack's tweet image. #Laravel Tip

Did you know about… `whereAny()` method that can search multiple columns using OR logic in a cleaner way!👇

#Laravel #PHP Do you map or loop? 👇 Functional elegance or just fancy syntax? What do you think👇

laravelbackpack's tweet image. #Laravel #PHP

Do you map or loop? 👇

Functional elegance or just fancy syntax? What do you think👇

Backpack for Laravel reposted

Just shipped Backpack v7 after 1.5 years of work. The team put in 1000+ commits to make admin panels even easier to build, 8 month alone in refactoring our most complex bits. My favorite part? You can now use datatables, forms, and show content literally anywhere. Custom pages,…

tabacitu's tweet image. Just shipped Backpack v7 after 1.5 years of work. The team put in 1000+ commits to make admin panels even easier to build, 8 month alone in refactoring our most complex bits.

My favorite part? You can now use datatables, forms, and show content literally anywhere. Custom pages,…

#Laravel Tip Did you know... You can register only specific routes from a resource controller — no need to define them all.

laravelbackpack's tweet image. #Laravel Tip

Did you know... You can register only specific routes from a resource controller — no need to define them all.

#Laravel Tip Don't let database queries slow you down. Use Laravel's cache facade to cache data temporarily, reducing database queries.

laravelbackpack's tweet image. #Laravel Tip

Don't let database queries slow you down. Use Laravel's cache facade to cache data temporarily, reducing database queries.

#Laravel #PHP Do you use ?? or stick with isset() ? Clean shortcut or confusing syntax? What do you think...👇

laravelbackpack's tweet image. #Laravel #PHP

Do you use ?? or stick with isset() ?

Clean shortcut or confusing syntax?  What do you think...👇

#Laravel #PHP Do you prefer sending mail inline or using a Mailable class? 👇

laravelbackpack's tweet image. #Laravel #PHP

Do you prefer sending mail inline or using a Mailable class? 👇

#PHP Tip Check out PHP 8's match expression for cleaner conditional logic.

laravelbackpack's tweet image. #PHP Tip

Check out PHP 8's match expression for cleaner conditional logic.

#Laravel Tip Do you want to keep a tab on your Laravel application's queries? Just add this to the boot() method in AppServiceProvider to get them in your logs:

laravelbackpack's tweet image. #Laravel Tip

Do you want to keep a tab on your Laravel application's queries?

Just add this to the boot() method in AppServiceProvider to get them in your logs:

#Laravel #PHP Do you use arrow functions everywhere? 👇 Cleaner or harder to read? 👇

laravelbackpack's tweet image. #Laravel #PHP

Do you use arrow functions everywhere? 👇

Cleaner or harder to read? 👇

#Laravel #PHP Ever replaced a bunch of isset() checks with optional chaining? Smart move or risky readability hit? 👇

laravelbackpack's tweet image. #Laravel #PHP

Ever replaced a bunch of isset() checks with optional chaining?

Smart move or risky readability hit? 👇

Loading...

Something went wrong.


Something went wrong.