mll-lab / laravel-db-ready
An artisan command to check if a database connection is ready
Installs: 21 520
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8
- illuminate/contracts: ^8 || ^9
Requires (Dev)
- ergebnis/composer-normalize: ^2.23
- mll-lab/php-cs-fixer-config: ^4.4
- nunomaduro/larastan: ^0.7 || ^1
- orchestra/testbench: ^6 || ^7
README
An artisan command to check if a database connection is ready
Installation
composer require --dev mll-lab/laravel-db-ready
Usage
Description:
Wait until a database connection is ready.
Usage:
db:ready [options]
Options:
--database[=DATABASE] The database connection to use
--timeout[=TIMEOUT] Time in seconds that connecting should be attempted [default: "30"]
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug