Generate humans.txt file from git repository
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Authors
Command
DependencyInjection
Exception
Renderer
Resources
Tests
Writer
.gitignore
.travis.yml
LICENSE
README.md
ZakharovviHumansTxtBundle.php
composer.json
phpunit.xml.dist

README.md

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

  1. Add this to the composer.json:
{
    "require": {
        "zakharovvi/humanstxt-bundle": "dev-master"
    }
}

And run:

$ php composer.phar update zakharovvi/humanstxt-bundle
  1. 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