idci / code-generator-bundle
Symfony CodeGeneratorBundle
Installs: 10 265
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/framework-bundle: >=2.3
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-07 01:08:35 UTC
README
A Symfony2 Bundle to generate unique codes
Installation
Add dependencies in your composer.json
file:
"require": { ... "idci/code-generator-bundle": "dev-master" },
Install these new dependencies in your application using composer:
$ php composer.phar update
Register needed bundles in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new IDCI\Bundle\CodeGeneratorBundle\IDCICodeGeneratorBundle(), ); }
Import the bundle configuration:
# app/config/config.yml imports: - { resource: @IDCICodeGeneratorBundle/Resources/config/config.yml }
Documentation
Tests
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text