· November 25, 2020 · ⋆ Laravel For instance, recently, with the release of Laravel v8.16.0, it’s now possible to connect to the project’s databases right from the CLI using an Artisan command. A PR in v8.16.0 has introduced an artisan command php artisan db which is when run can connect to the default database of the project right in the CLI.
Apart from using the default php artisan db which connects to the default database, you can also explicitly specify the connection to connect to a non-default database connection like so.
Artisan command to connect to the database in CLI in Laravel 8.x Throttling submission of form in Laravel Monitor logs in Laravel Telescope in production environment Using MySQL explain for queries in Laravel 8.x Simple and lightweight scaffolding using Breeze in Laravel 8 Artisan command to connect to the database in CLI in Laravel 8.x Why you should always commit the composer.lock file Exciting new features and improvements in PHP 8 Throttling submission of form in Laravel Monitor logs in Laravel Telescope in production environment