aeyoll / symfony-php-spec-generator-bundle
0.0.2
2015-09-25 10:08 UTC
Requires
- php: >=5.3
- nikic/php-parser: ^1.4
This package is auto-updated.
Last update: 2024-09-05 22:37:29 UTC
README
此包是基于在您的Symfony项目中定义的Doctrine的PhpSpec基本生成器。
安装
首先,通过Composer安装包。编辑您的项目文件 composer.json
,添加aeyoll/symfony-php-spec-generator-bundle
依赖项。
"require": { "aeyoll/symfony-php-spec-generator-bundle": "dev-master" }
然后,使用Composer通过终端更新您的项目
php composer.phar update
您也可以从Composer使用require命令
composer require aeyoll/symfony-php-spec-generator-bundle
一旦安装了包,您需要将包添加到您的kernel中。打开您的app/AppKernel.php
配置文件,并将new Aeyoll\SymfonyPhpSpecGeneratorBundle\AeyollSymfonyPhpSpecGeneratorBundle(),
添加到包列表中。
使用方法
...