Skip to main content

All Tutorials

In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.

Tutorial Free

Set Laravel User Locale in Middleware

To set the global Laravel language (locale), you need to use the `app()->setLocale()` method. But the question is: where to put this method if you want to set the locale based on a DB field like `users.language`?

Tutorial Free

How To Install Older Laravel Version

Sometimes, when starting a new Laravel project, you can't use the latest version. For example, when the PHP version on your server is lower than required by Laravel. What to do?

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.