geste / easy-command
该软件包最新版本(1.7.0)的许可证信息不可用。
基于 symfony 控制台和 laminas 容器的 gestes 命令行模板
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
安装
php easy
使用方法
启动/列出命令
php easy
调用命令
php easy {command [parameters]}
为个人项目配置
See config/projects.php
添加个人命令
Just see for examples in src/Command/
Add new commands in ConfigProviders with key 'commands'
使用数据库命令
Add config in config/database.php
Rename database/{name}/
See for migration table in database/{name}/structure.sql
作为库实现
See example in https://github.com/steltner/easy-template