PHPackages                             libre-informatique/sonata-sylius-user-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. libre-informatique/sonata-sylius-user-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

libre-informatique/sonata-sylius-user-bundle
============================================

Symfony bundle providing a bridge between SonataAdmin and SyliusUser (an alternative to SonataUserBundle)

0.6.4(8y ago)13.1k12LGPL-3.0PHPPHP &gt;=7.1

Since May 5Pushed 8y ago5 watchersCompare

[ Source](https://github.com/libre-informatique/SonataSyliusUserBundle)[ Packagist](https://packagist.org/packages/libre-informatique/sonata-sylius-user-bundle)[ Docs](https://github.com/libre-informatique/SonataSyliusUserBundle)[ RSS](/packages/libre-informatique-sonata-sylius-user-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (6)Versions (10)Used By (2)

Sonata Sylius User Bundle
=========================

[](#sonata-sylius-user-bundle)

[![Travis](https://camo.githubusercontent.com/f2c7c26a56d471075b2bd7d07387735ba2714697d16e5c7b931d2ac510371874/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c696272652d696e666f726d6174697175652f536f6e61746153796c6975735573657242756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/libre-informatique/SonataSyliusUserBundle)[![Coveralls](https://camo.githubusercontent.com/d0f21f43de62908c52368aedfc1c4702a816948a2adae7caee3100f0d82f7ba4/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6c696272652d696e666f726d6174697175652f536f6e61746153796c6975735573657242756e646c652e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/libre-informatique/SonataSyliusUserBundle?branch=master)[![License](https://camo.githubusercontent.com/d972bae9af414d3236a1418547be97833cd31d4d8cf5a7cfd757997e2df5fa29/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c696272652d696e666f726d6174697175652f536f6e61746153796c6975735573657242756e646c652e7376673f7374796c653d666c61742d737175617265)](./LICENCE.md)

[![Latest Stable Version](https://camo.githubusercontent.com/3a6ae842a7523e401b6392a8d3da5ba1baa49ae288e0892efbacacc4625502f5/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f736f6e6174612d73796c6975732d757365722d62756e646c652f762f737461626c65)](https://packagist.org/packages/libre-informatique/sonata-sylius-user-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/e3734329fa97d91666d99397711e3c84664d007e9f9ed8513bcd393422ad5ca2/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f736f6e6174612d73796c6975732d757365722d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/libre-informatique/sonata-sylius-user-bundle)[![Total Downloads](https://camo.githubusercontent.com/9dc2006097c2a90605d9fa6c52e4a57f0dfb6897038b263fa184b0ae6dd522af/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f736f6e6174612d73796c6975732d757365722d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/libre-informatique/sonata-sylius-user-bundle)

- [Sonata Sylius User Bundle](#sonata-sylius-user-bundle)
    - [Installation](#installation)
        - [Adding required bundles to the kernel](#adding-required-bundles-to-the-kernel)
        - [Configure Doctrine extensions](#configure-doctrine-extensions)
        - [Update database schema](#update-database-schema)
        - [Configure routes and security](#configure-routes-and-security)
        - [Configure Sylius User Bundle](#configure-sylius-user-bundle)

This is a Symfony bundle providing a bridge between [SonataAdmin](https://github.com/sonata-project/SonataAdminBundle)and [SyliusUser](http://docs.sylius.org/en/latest/bundles/SyliusUserBundle/index.html)(an alternative to [SonataUserBundle](https://github.com/sonata-project/SonataUserBundle)).

The idea behind this bundle was to have user management in Sonata Admin without using [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle)(which was not stable enough by the time we started this project).

[Sylius](http://docs.sylius.org/en/latest/) already had a good user management component and bundle, we just filled the gap...

Installation
------------

[](#installation)

We assume you're familiar with [Composer](http://packagist.org), a dependency manager for PHP. Use the following command to add the bundle to your `composer.json` and download the package.

If you have [Composer installed globally](http://getcomposer.org/doc/00-intro.md#globally)

```
$ composer require libre-informatique/sonata-sylius-user-bundle
```

Otherwise you have to download .phar file.

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require libre-informatique/sonata-sylius-user-bundle
```

### Adding required bundles to the kernel

[](#adding-required-bundles-to-the-kernel)

You need to enable the bundle inside the kernel.

If you're not using any other Sylius bundles, you will also need to add `SyliusUserBundle` and its dependencies to kernel. Don't worry, everything was automatically installed via Composer.

```
