2017 © Pedro Peláez
 

library blockade

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

image

glynnforrest/blockade

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  • Sunday, February 15, 2015
  • by glynnforrest
  • Repository
  • 1 Watchers
  • 1 Stars
  • 944 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Blockade

Build Status, (*1)

Blockade is an easy to use firewall and security library for PHP and the Symfony HttpKernel., (*2)

It uses the kernel.exception event to listen for instances of BlockadeException and return a response, depending on the type of exception thrown. These exceptions can be thrown at any point in the request, and it's straightforward to create custom exceptions., (*3)

Resolvers are responsible for converting an exception to a response, such as an access denied page or a redirect to a login form. A single resolver doesn't have to support every exception or return a response. For example, a resolver that logs unauthorized requests would only listens for AuthorizationException, leaving another resolver to create a response., (*4)

A FirewallListener can be set up to check incoming requests and throw AuthenticationException, AuthorizationException and AnonymousException for you., (*5)

Installation

Blockade is installed via Composer. To add it to your project, simply add it to your composer.json file:, (*6)

{
    "require": {
        "glynnforrest/blockade": "0.2.*"
    }
}

And run composer to update your dependencies:, (*7)

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

License

MIT, see LICENSE for details., (*8)

Copyright 2014 Glynn Forrest, (*9)

The Versions

15/02 2015

dev-master

9999999-dev

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest

13/02 2015

0.2.1

0.2.1.0

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest

01/12 2014

0.2.0

0.2.0.0

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest

08/06 2014

0.1.2

0.1.2.0

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest

08/06 2014

0.1.1

0.1.1.0

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest

28/04 2014

0.1.0

0.1.0.0

An easy to use firewall and security library for PHP and the Symfony HttpKernel.

  Sources   Download

MIT

The Requires

 

by Glynn Forrest