brainbits / database-command
Library providing symfony database commands
Installs: 5 054
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 4
Requires
- php: ^8.2
- doctrine/dbal: ^3.1|^4.0
- symfony/console: ^6.0|^7.0
Requires (Dev)
- brainbits/phpcs-standard: ^7.0
- brainbits/phpstan-rules: ^3.0
- jangregor/phpstan-prophecy: ^1.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2024-11-21 14:03:35 UTC
README
Installation
Register the commands in your services.yaml
.
Brainbits\DatabaseCommand\Command\SchemaExistsCommand: ~ Brainbits\DatabaseCommand\Command\WaitForDatabaseCommand: ~
Usage
$ bin/console brainbits:database:wait-for-database --retry-seconds 3 --retry-count 100
$ bin/console brainbits:database:schema-exists