PHPackages                             taehupo/silex-simpleuser - 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. taehupo/silex-simpleuser

ActiveLibrary

taehupo/silex-simpleuser
========================

Des utilisateur avec une BDD sur Silex, comprenant Controlleurs et providers.

2.0.1(11y ago)126BSD-2-ClausePHPPHP &gt;=5.3.0

Since Apr 15Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Taehupo/silex-simpleuser)[ Packagist](https://packagist.org/packages/taehupo/silex-simpleuser)[ Docs](http://github.com/jasongrimes/silex-simpleuser)[ RSS](/packages/taehupo-silex-simpleuser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (28)Used By (0)

Simple User Provider for Silex
==============================

[](#simple-user-provider-for-silex)

[![Build Status](https://camo.githubusercontent.com/9766cf8cd6d69f99b76f66fcc34c8757816e4e323d0726b88a607394b4d6580b/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e6772696d65732f73696c65782d73696d706c65757365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jasongrimes/silex-simpleuser)[![Total Downloads](https://camo.githubusercontent.com/86db9dfe916aad6ffba354019a2c30f7cc4e2a569afe25a8fc2c1f1e7a08082c/68747470733a2f2f706f7365722e707567782e6f72672f6a61736f6e6772696d65732f73696c65782d73696d706c65757365722f646f776e6c6f6164732e737667)](https://packagist.org/packages/jasongrimes/silex-simpleuser)[![Latest Stable Version](https://camo.githubusercontent.com/b874058381cc467edc5c744106315710104bd10f110cd43b1e49bf6df51dcb40/68747470733a2f2f706f7365722e707567782e6f72672f6a61736f6e6772696d65732f73696c65782d73696d706c65757365722f762f737461626c652e737667)](https://packagist.org/packages/jasongrimes/silex-simpleuser)[![Latest Unstable Version](https://camo.githubusercontent.com/c861e83966c8c74aff77d6ef9154a7b03e16aeb7db184d406f960468a736f8d3/68747470733a2f2f706f7365722e707567782e6f72672f6a61736f6e6772696d65732f73696c65782d73696d706c65757365722f762f756e737461626c652e737667)](https://packagist.org/packages/jasongrimes/silex-simpleuser)

A simple database-backed user provider for use with the Silex [SecurityServiceProvider](http://silex.sensiolabs.org/doc/providers/security.html).

SimpleUser is an easy way to set up user accounts (authentication, authorization, and user administration) in the Silex PHP micro-framework. It provides drop-in services for Silex that implement the missing user management pieces for the Security component. It includes a basic User model, a database-backed user manager, controllers and views for user administration, and various supporting features.

Demo
----

[](#demo)

- [Online demo](http://silex-simpleuser-demo.grimesit.com/)
- [Demo source code](https://github.com/jasongrimes/silex-simpleuser-demo)

Upgrading
---------

[](#upgrading)

If you're upgrading from 1.x, you'll need to update the database for version 2.0. Tools are provided to make this database migration relatively painless. See [sql/MIGRATION.md](sql/MIGRATION.md) for details.

Quick start example config
--------------------------

[](#quick-start-example-config)

This configuration should work out of the box to get you up and running quickly. See below for additional details.

Install with composer. This command will automatically install the latest stable version:

```
composer require taehupo/silex-simpleuser

```

Set up your Silex application something like this:

```
