SymfonyPhpSpecGeneratorBundle
, (*1)
This bundle is a basic generator for PhpSpec, based on the Doctrine defined in your Symfony project, (*2)
Installation
Begin by installing the package through Composer. Edit your project's composer.json
file to require aeyoll/symfony-php-spec-generator-bundle
., (*3)
json
"require": {
"aeyoll/symfony-php-spec-generator-bundle": "dev-master"
}
Next, use Composer to update your project from the the Terminal:, (*4)
php composer.phar update
, (*5)
You can also use the require command from Composer:, (*6)
composer require aeyoll/symfony-php-spec-generator-bundle
, (*7)
Once the package has been installed, you'll need to add the bundle to your kernel. Open your app/AppKernel.php
configuration file, and add new Aeyoll\SymfonyPhpSpecGeneratorBundle\AeyollSymfonyPhpSpecGeneratorBundle(),
to the bundle list., (*8)
Usage
..., (*9)