Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

[![KnpBundles Badge](http://knpbundles.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/badge-short)](http://knpbundles.com/symfony2admingenerator/AdmingeneratorGeneratorBundle)
![project status](http://stillmaintained.com/cedriclombardot/AdmingeneratorUserBundle.png)
[![Latest Stable Version](https://poser.pugx.org/cedriclombardot/admingenerator-user-bundle/v/stable.png)](https://packagist.org/packages/cedriclombardot/admingenerator-user-bundle)
[![Total Downloads](https://poser.pugx.org/cedriclombardot/admingenerator-user-bundle/downloads.png)](https://packagist.org/packages/cedriclombardot/admingenerator-user-bundle)

This package is a part of the [Symfony2 Admin Generator](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle) based on YAML configuration and Twig templating.

Expand All @@ -14,12 +16,35 @@ Don't miss any updates from **Symfony2 Admin Generator**! Join Twitter today and

## How to setup

### Clone the repo
# Installation via composer
---------------------------------------

[go back to Table of contents][back-to-index]

[back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#1-installation

### 1. Download files

Add Admingenerator to your `composer.json`:

#### v1.0 branch for Twitter Bootstrap2 styles
```json
"require": {
"cedriclombardot/admingenerator-user-bundle": "~1.0"
},
```
git submodule add https://github.com/symfony2admingenerator/AdmingeneratorUserBundle vendor/Admingenerator/UserBundle

#### v1.1 branch for Twitter Bootstrap3 styles
```json
"require": {
"cedriclombardot/admingenerator-user-bundle": "~1.1"
},
```

Then run `php composer.phar update` command.

> **Note:** The branches reflect branches of [AdmingeneratorGeneratorBundle](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle).

### Setup the FOSUserBundle

Follow the bundle documentation : [https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/index.md](https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/index.md)
Expand Down