geste / easy-command
There is no license information available for the latest version (1.7.0) of this package.
gestes cli template based on symfony console and laminas container
1.7.0
2022-04-01 14:43 UTC
Requires
- php: >=8
- ext-curl: *
- ext-json: *
- ext-pdo: *
- geste/fluentpdo: ^4
- guzzlehttp/guzzle: 6.3.*
- laminas/laminas-config-aggregator: ^1.0
- laminas/laminas-servicemanager: ^3.3
- symfony/console: *
- symfony/http-foundation: ^4.2
- symfony/process: *
Requires (Dev)
- behat/behat: ^3.6
- geste/easy-test: *
- imbo/behat-api-extension: ^2.1
- phpmd/phpmd: @stable
- phpstan/phpstan: *
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: 3.*
README
Install
php easy
Usage
Start/List Commands
php easy
Call command
php easy {command [parameters]}
Configure for own projects
See config/projects.php
Add own commands
Just see for examples in src/Command/
Add new commands in ConfigProviders with key 'commands'
Use database command
Add config in config/database.php
Rename database/{name}/
See for migration table in database/{name}/structure.sql
Implementation as library
See example in https://github.com/steltner/easy-template