mll-lab/laravel-db-ready

This package is abandoned and no longer maintained. No replacement package was suggested.

An artisan command to check if a database connection is ready

v4.0.0 2022-03-02 15:16 UTC

This package is auto-updated.

Last update: 2023-07-16 11:58:00 UTC


README

An artisan command to check if a database connection is ready

codecov

GitHub license Packagist Packagist

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