https://github.com/brainbits/database-command
wait-for-database symfony command
https://github.com/brainbits/database-command
Last synced: about 2 months ago
JSON representation
wait-for-database symfony command
- Host: GitHub
- URL: https://github.com/brainbits/database-command
- Owner: brainbits
- Created: 2023-02-07T14:31:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-13T13:47:51.000Z (3 months ago)
- Last Synced: 2026-01-13T16:34:36.882Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://codecov.io/gh/brainbits/database-command)
# Installation
Register the commands in your `services.yaml`.
```yaml
Brainbits\DatabaseCommand\Command\SchemaExistsCommand: ~
Brainbits\DatabaseCommand\Command\WaitForDatabaseCommand: ~
```
# Usage
```sh
$ bin/console brainbits:database:wait-for-database --retry-seconds 3 --retry-count 100
```
```sh
$ bin/console brainbits:database:schema-exists
```