linchaker / dev-commands
Laravel dev commands
v1.0.0
2023-01-29 17:36 UTC
Requires
- php: ^8.0.2
- doctrine/dbal: ^3.3
Requires (Dev)
- orchestra/testbench: 8.x-dev
- phpunit/phpunit: ^9.5.27
This package is auto-updated.
Last update: 2025-04-29 01:43:52 UTC
README
A list of console commands that help in the setup/development of the Laravel project.
Installation
This package can be installed through Composer.
composer require linchaker/dev-commands
Usage
Check Database connection
Check if the database connection is configured correctly.
Default connection is mysql
php artisan check:db
Check connection to another database:
php artisan check:db pgsql
Check Redis connection
Check if the redis connection is configured correctly.
Default connection is "default"
php artisan check:redis
Check another connection:
php artisan check:redis cache
Generate PHPDoc for model's table
Creates a PHPDoc for some table and prints it to the console.
For example, create documentation for the "users" table:
php artisan gen:phpdoc users
Default DB connection is mysql, if you need another connection, pass it as second argument:
php artisan gen:phpdoc users pgsql
License
The MIT License (MIT). Please see License File for more information.