#AppServiceProvider
Just uploaded a video with 5 things I always do in Laravel’s AppServiceProvider! ✨ youtu.be/i5r-dOpQan8
5 Must-Haves in My Laravel AppServiceProvider
YouTube video by Nuno Maduro
youtu.be
December 1, 2024 at 1:15 PM
in Laravel Cloud, we organize our "AppServiceProvider" like this: in the "boot" method, we call "$this->configure*" methods, and each one takes care of its own thing, like models, routing, etc. super clean! 🧼
October 30, 2024 at 12:14 PM
Laravel developers, what's holding you back from using Model::unguard(); in your AppServiceProvider? 🤔

Let's hear your thoughts! 🚧
December 4, 2024 at 12:17 PM
Filament Tip

I find myself having some tables stripped and some that I forget to strip on my panels. If you want to be consistently and lazy, set your filament table in you AppServiceProvider to always be stripped.

#laravel #php #Filament
January 16, 2025 at 10:11 PM
Quick Tip:

Laravel's HTTP client truncates thrown exceptions by default which can make it difficult to debug issues with the HTTP client requests.

✨Add this to your AppServiceProvider to get the full exception:

RequestException::dontTruncate();

#laravel #php
February 7, 2025 at 5:31 PM
🚨 Laravel Developers: Do you know about View Composers for sharing dynamic data in views?

I found one use case for managing alerts!

🔹 Set alert data with a static method.
🔹 Register the composer in AppServiceProvider.
🔹 Bind the alert to your view easily!

Check out the example 👇 #laravel #php
December 5, 2024 at 4:12 PM
1/2
2025 Development Daily Log #1 🚀

👨‍🍳 Core Coolify Development:
✅ Improved security and refactored code of our AppServiceProvider
✅ Fixed and refactored code for GitHub App integration
✅ Closed 2 PRs - stale and fixed differently
✅ Triaged and investigated 4+ issues
January 6, 2025 at 8:48 PM
Boost your Laravel skills! 🚀

Check out these must-haves for your AppServiceProvider in your next project.
5 Must-Haves in Your Laravel AppServiceProvider
Boost your Laravel skills! 🚀 Check out these must-haves for your AppServiceProvider in your next project.
laravel-news.com
April 2, 2025 at 3:00 PM
Here's my default boot method in the AppServiceProvider, these days - got any other suggestions?
March 5, 2025 at 1:40 PM
Nuno knows Laravel. So when he says, might as well do it.

Just updated my AppServiceProvider.

Skipping the vite and guarded stuff.
December 2, 2024 at 7:02 PM
3/5
✅ Switched everything from NPM to Bun. Bun is wild and much faster than NPM.
✅ Initialized Tailwind v4, which is much cleaner to set up than v3.
✅ Added several more strict rules to my AppServiceProvider.
April 17, 2025 at 10:17 PM
We will talk about :
✅ TailwindCSS,
✅ Magellan,
✅ appServiceProvider,
✅ Default Password Rules
✅ login with QR Code

Will you coming to discover it ? Please say yes, it helps me a lot !!!
December 4, 2024 at 5:26 PM
Laravel AppServiceProvider: register vs boot - What Goes Where
Laravel AppServiceProvider: register vs boot - What Goes Where
Laravel AppServiceProvider: register vs boot - What Goes Where
laravel-news.com
July 16, 2026 at 11:01 AM
#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:
June 5, 2025 at 11:30 AM
When setting up a password validator, define your default password rules in your AppServiceProvider to keep it consistent and easy to change later.
securinglaravel.com/p/security-t...
Security Tip: Default Password Rules
[Tip#11] Why duplicate password validation rules across your app when you can define defaults once?
securinglaravel.com
January 25, 2024 at 6:05 AM
Very interesting insights about how to protect your production app environment from must avoid mistakes.
5 Must-Haves in My Laravel AppServiceProvider
YouTube video by Nuno Maduro
www.youtube.com
December 8, 2024 at 4:21 PM
Pages without an explicit OG image can still get one. Register a fallback in your AppServiceProvider that receives the full Request object.

Return null for pages you want to skip.
February 26, 2026 at 12:02 PM
The entire Flare CLI boils down to one call in the AppServiceProvider:

💪 That single registration generates every API command.

The only hand-written commands: LoginCommand, LogoutCommand, InstallSkillCommand,

Everything else (errors, projects, teams, performance) is generated at runtime.
February 25, 2026 at 11:45 AM
🔥 Avoid disasters in production! In Laravel, you can prohibit destructive DB commands with DB::prohibitDestructiveCommands() in AppServiceProvider. More security with just one line of code! #Laravel #PHP
April 2, 2025 at 7:29 AM
🔥 Avoid truncating errors in local Laravel environment! Add this to AppServiceProvider and see full error messages while developing.

#Laravel #DevelopmentTips #ErrorHandling #AppServiceProvider #PHP #WebDevelopment #LaravelTips #Programming
April 1, 2025 at 7:46 AM
That doesn't work for me as users should still be able to visit "/" while logged in.

So what I am doing at the moment is calling
\Illuminate\Auth\Middleware\RedirectIfAuthenticated::redirectUsing(fn () => '/w');

in my AppServiceProvider overwriting some logic in that middleware
November 4, 2025 at 10:41 PM
Et si vous préférez la version française 🇫🇷, elle est disponible également 👇

go.itanea.fr/laq40
Laravel au quotidien - #040
L'actualité de l'écosystème Laravel du 04/12/24 : on y parle TailwindCSS, Magellan, appServiceProvider, Default Password Rules et login avec QR Code
go.itanea.fr
December 4, 2024 at 5:26 PM
Hey LaraDevs, it's the come back of "A Day With Laravel" newsletter 🎉
A really short newsletter to have quickly the last news of #laravel ecosystem

After few months off, there is a new issue today.

go.itanea.fr/adwl40
A day with Laravel - #040
Laravel Ecosystem News for December 04, 2024 : we talk about TailwindCSS, Magellan, appServiceProvider, Default Password Rules and login with QR Code
go.itanea.fr
December 4, 2024 at 5:26 PM
What's actually in your AppServiceProvider across most projects? Curious whether people are reaching for similar defaults or everyone's doing something different.
June 24, 2026 at 10:30 PM
New to Laravel? 🚀

Learn what to do next with your AppServiceProvider after installation!
The Next Step After Fresh Laravel Installation: Setting Up Your AppServiceProvider
New to Laravel? 🚀 Learn what to do next with your AppServiceProvider after installation!
laravel-news.com
December 11, 2025 at 2:26 PM