<commit_before>Provides user persistence for your Symfony2 Project.

Features
========

- Compatible with Doctrine ORM **and** ODM thanks to a generic repository.
- Model is extensible at will
- REST-ful authentication
- Current user available in your controllers and views
- Unit tested and functionally tested

Warning
=======

The core SecurityBundle is required to use this bundle.

The supplied Controller and routing configuration files expose as much functionality
as possible to illustrate how to use the Bundle. However using these exposes
a lot of functionality which requires additional configuration to secure
properly (for example delete, list etc). As such its not recommended to
ever go into production while using one of the default routing configuration
files.

The implementation of ACL checks via the JMSSecurityExtraBundle is also
currently incomplete (see issue #53) and activation of this Bundle is also
not enforced.

Furthermore it may be necessary to extend or even replace the default Controllers
with custom code to achieve the exact desired behavior. Trying to cover
every possible use case is not feasible as it would complicate the Bundle
to the point of being unmaintainable and impossible to comprehend in a reasonable
amount of time.

Installation
============

Add FOSUserBundle to your vendor/bundles/ dir
------------------------------------------

Using the vendors script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add the following line in your ``deps`` file::

    UserBundle            /bundles/FOS            git://github.com/FriendsOfSymfony/UserBundle.git

Run the vendors script::

    ./bin/vendors install

Using submodules
~~~~~~~~~~~~~~~~

::

    $ git submodule add git://github.com/FriendsOfSymfony/UserBundle.git vendor/bundles/FOS/UserBundle

Add the FOS namespace to your autoloader
----------------------------------------

::

    // app/autoload.php
    $loader->registerNamespaces(array(<commit_msg>Updated the doc to use the ini syntax for the deps file<commit_after>Provides user persistence for your Symfony2 Project.

Features
========

- Compatible with Doctrine ORM **and** ODM thanks to a generic repository.
- Model is extensible at will
- REST-ful authentication
- Current user available in your controllers and views
- Unit tested and functionally tested

Warning
=======

The core SecurityBundle is required to use this bundle.

The supplied Controller and routing configuration files expose as much functionality
as possible to illustrate how to use the Bundle. However using these exposes
a lot of functionality which requires additional configuration to secure
properly (for example delete, list etc). As such its not recommended to
ever go into production while using one of the default routing configuration
files.

The implementation of ACL checks via the JMSSecurityExtraBundle is also
currently incomplete (see issue #53) and activation of this Bundle is also
not enforced.

Furthermore it may be necessary to extend or even replace the default Controllers
with custom code to achieve the exact desired behavior. Trying to cover
every possible use case is not feasible as it would complicate the Bundle
to the point of being unmaintainable and impossible to comprehend in a reasonable
amount of time.

Installation
============

Add FOSUserBundle to your vendor/bundles/ dir
------------------------------------------

Using the vendors script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add the following lines in your ``deps`` file::

    [FOSUserBundle]
        git=git://github.com/FriendsOfSymfony/UserBundle.git
        target=/bundles/FOS/UserBundle

Run the vendors script::

    ./bin/vendors install

Using submodules
~~~~~~~~~~~~~~~~

::

    $ git submodule add git://github.com/FriendsOfSymfony/UserBundle.git vendor/bundles/FOS/UserBundle

Add the FOS namespace to your autoloader
----------------------------------------

::

    // app/autoload.php
    $loader->registerNamespaces(array(
{'fraction_non_alphanumeric': 0.11608497723823975, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 3.5512082853855005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1322322', 'n_tokens_mistral': 977, 'n_tokens_neox': 909, 'n_words': 470}