How-to articles, tricks, and solutions about LARAVEL
Displaying the Error Messages in Laravel after being Redirected from controller
In Laravel, you can use the withErrors method to pass error messages to a view after a redirect.
Doing HTTP requests FROM Laravel to an external API
To make an HTTP request from Laravel to an external API, you can use the HTTP client of your choice.
Get environment value in controller
To get an environment value in a PHP controller, you can use the getenv function.