2017 © Pedro Peláez
 

library silex-security

Wrapper around symfony\security to reduce config needed

image

mheap/silex-security

Wrapper around symfony\security to reduce config needed

  • Thursday, February 20, 2014
  • by mheap
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

require 'vendor/autoload.php';

$app = new Silex\Application();

$app['mheap.security.open_routes'] = array(
    "index" => "^/$"
);

$app['mheap.security.pages'] = array(
    "login" => "/login",
    "logout" => "/logout",
    "login_redirects_to" => "/"
);

$app['mheap.security.user_provider'] = $app->share(function() use ($app) {
    return new mheap\UserProvider;
});

$app->register(new mheap\SecurityServiceProvider());

$app->get('/login', function () use ($app) {
    return "FOO";
});

The Versions

20/02 2014

dev-develop

dev-develop

Wrapper around symfony\security to reduce config needed

  Sources   Download

MIT

The Requires

 

16/02 2014

dev-master

9999999-dev

Wrapper around symfony\security to reduce config needed

  Sources   Download

MIT

The Requires

 

16/02 2014

0.0.1

0.0.1.0

Wrapper around symfony\security to reduce config needed

  Sources   Download

MIT

The Requires