survos/code-bundle
最新稳定版本:2.0.96
Composer 安装命令:
composer require --dev survos/code-bundle
包简介
generate PHP code for Symfony applications. Like maker-bundle, but with nette/php-generator
关键字:
README 文档
README
Generate PHP code for Symfony applications. Like maker-bundle, but with nette/php-generator
Prerequistes for the demo
- php 8.4+
- Symfony CLI
- meilisearch
docker-compose.yaml
The bundle requires 2 classes, but you have to explicitly request them because of being in the --dev environment.
composer require --dev survos/code-bundle nikic/php-parser nette/php-generator
symfony new --webapp playground && cd playground composer req survos/code-bundle --dev
General Idea
When making 'controller' (lower-case), we're referring to a method in a Controller class.
Now let's create a simple command.
bin/console survos:make:command app:shout "greet someone, optionally in all caps"
统计信息
- 总下载量: 585
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-15