hackzilla/password-generator-bundle

Password Generator Bundle

Installs: 3 746

Dependents: 1

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 1

Language: PHP

1.4 2015-06-06 12:06 UTC

README

Bundle for implementing Hackzilla/password-generator in Symfony.

Simple multilingual bundle to add to any project. Languages: English. [Pull Requests welcome]

Build Status SensioLabsInsight

Requirements

Installation

Add HackzillaPasswordGeneratorBundle in your composer.json:

{
    "require": {
        "hackzilla/password-generator-bundle": "~1.0"
    }
}

Install Composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Now tell composer to download the library by running the command:

$ composer update hackzilla/password-generator

Composer will install the bundle into your project's vendor/hackzilla directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hackzilla\Bundle\PasswordGeneratorBundle\HackzillaPasswordGeneratorBundle(),
    );
}

Step 3: Enable Translations

// app/config/config.yml

parameters:
    locale: en

framework:
    #esi:             ~
    translator:      { fallbacks: ["%locale%"] }

Example Implementation

See Password generator app

Pull Requests

I'm open to pull requests for additional languages, features and/or improvements.