ZakharovviHumansTxtBundle
Generate humans.txt from git repository.
About humans.txt you may learn here: http://humanstxt.org/
Requirements
Installed git.
Initialized git repository in your Symfony 2 project
Installation
- Add this to the
composer.json
:
{
"require": {
"zakharovvi/humanstxt-bundle": "dev-master"
}
}
And run:
$ php composer.phar update zakharovvi/humanstxt-bundle
- Enable the bundle in
app/AppKernel.php
:
public function registerBundles()
{
$bundles = array(
// ...
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// ...
$bundles[] = new Zakharovvi\HumansTxtBundle\ZakharovviHumansTxtBundle();
}
);
}
Usage
$ cd /path/to/your/project
$ php app/console humans_txt:generate
Resources
You can run the unit tests with the following command:
$ phpunit