If you are working with a huge Laravel project, at some point you will have a bloated web.php or api.php file with lots of routes, Although this works fine, but you may want to organize your route fil...
In this tutorial we will go over on how we can implement a multi-language website in Laravel using Laravel Localization and also create a simple language switcher to change the default language.
1. C...
Compared to the previous version of Laravel where Bootstrap Framework was the default pre-installed frontend option. In the latest version there have been a lot of changes in the Laravel Framework whe...
If you have some part of your code which you want to execute only if a certain environment variable exists in the .env file. Here is how you can check the existence of environment variable in your .en...
This is a quick article on how you can remove a composer dependency from the Laravel project.
Open the terminal / command-prompt and navigate to the project root directory and execute the following...
If you are working on a Laravel application and encounter this error
could not find driver
Here are a few things you can do to resolve this issue.
If you are working on a fresh Laravel instal...
If you are looking to group by your query results by created_at column and get the total count of records created on each date. Here is how you can achieve that.
Consider you have a posts table and...
Here is the detailed tutorial on How to Install Laravel on your Ubuntu Machine running the version 20.04 of Ubuntu.
Although there are different ways to get started with the Laravel that includes u...
I encountered an instance where I was looking to add parameters in the Laravel's Request Object. You might encounter this when you want to add an additional value to the object before calling the stor...