The yt-dlp is a tool that enables to download videos from YouTube and other websites via command line. The yt-dlp is based on youtube-dl with additional features and fixes. The...
In some applications can be required to define routes which can be accessed only if debug mode is enabled. These routes can be used for testing or development purpose.
This...
Most of the time web applications requires that error page should be styled differently than default error page provided by Laravel framework. This tutorial provides example how to create custom...
When implementing a web application, we may need to check whether a route exists. This tutorial provides example how to do it in Laravel 9 application.
We can use the...
By default, Laravel framework has three environments: local, production and testing. This tutorial provides 2 methods how to get environment name in Laravel 9 application.
The APP_ENV variable allows to...
Laravel framework provides hash drivers that allow to hash passwords. There can be a case when hash driver is not implemented for the required hashing algorithm.
This tutorial provides example...
For some applications, there might be a requirement to add a custom HTTP header to all the responses. It can be done by adding header on each controller method. However...
Laravel framework provides various built-in Artisan commands that can help during application development. This tutorial shows how to use Artisan command to display configured routes in Laravel 9 application.
Let's...
Laravel framework provides an Artisan command line interface which is based on Symfony Console component. By default, ANSI escape codes are used to add colors to command output. Most people...
In Laravel application, route can be defined with name. It is a unique identifier which can be used for generating URLs or redirecting to specific routes.
This tutorial provides 3...