mll-lab/laravel-db-ready

此包已被废弃,不再维护。未建议替代包。

一个 artisan 命令,用于检查数据库连接是否就绪

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

This package is auto-updated.

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


README

一个 artisan 命令,用于检查数据库连接是否就绪

codecov

GitHub license Packagist Packagist

安装

composer require --dev mll-lab/laravel-db-ready

用法

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