Download the PHP package m6web/firewall-bundle without Composer
On this page you can find all versions of the php package m6web/firewall-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package firewall-bundle
Firewall Bundle 
This bundle provides IP filtering features for your Symfony applications.
It uses the Firewall component and offers service and annotations configuration.
For implementation into a Symfony 3 or Symfony 4 application, please use the release v3.0.0
at least.
Installation
Add this line in your composer.json
:
Update your vendors :
Registering
Usage
Configuration
Global annotation
config
parameter sets which pre-defined configuration to use,actions
parameter sets which actions of the controller are protected (in case of Class Annotation).
All default set parameters can be overloaded by annotation.
Class annotation
myFirstAction
is protected by the pre-defined configurationdefault
.
In this case we can set one (or many) firewall used for many actions.
Method annotation
myFirstAction
uses its own firewall with pre-defined configurationdefault
,mySecondAction
uses its own firewall with a custom configuration.
Path configuration
config
parameter sets which pre-defined configuration to use,path
parameter sets which path are protected.
Running the tests
Credits
Developped by the Cytron Team of M6 Web.
Tested with atoum.
License
The FirewallBundle is licensed under the MIT license.
All versions of firewall-bundle with dependencies
PHP Build Version
Package Version
The package m6web/firewall-bundle contains the following files
Loading the files please wait ....