zf2-boiler-app / app-access-control
ZF2 BoilerApp Access control module
dev-master / 1.0.x-dev
2013-10-07 19:18 UTC
Requires
- php: >=5.3.3
- neilime/zf2-browscap: dev-master
- zendframework/zendframework: dev-master
- zf2-boiler-app/app-db: dev-master
- zf2-boiler-app/app-display: dev-master
- zf2-boiler-app/app-logger: dev-master
- zf2-boiler-app/app-messenger: dev-master
- zf2-boiler-app/app-user: dev-master
Requires (Dev)
- zf2-boiler-app/app-test: dev-master
This package is auto-updated.
Last update: 2024-10-24 04:54:05 UTC
README
NOTE : This module is in heavy development, it's not usable yet. If you want to contribute don't hesitate, I'll review any PR.
Introduction
ZF2 BoilerApp "Access control" module is a Zend Framework 2 module that provides access control for ZF2 Boiler-App
Requirements
- Zend Framework 2 (latest master)
- ZF2 BoilerApp "Database" module (latest master)
- ZF2 BoilerApp "Display" module (latest master)
- ZF2 BoilerApp "Messenger" module (latest master)
- ZF2 BoilerApp "User" module (latest master)
Installation
Main Setup
By cloning project
- Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:
"repositories":[ { "type": "package", "package": { "version": "dev-master", "name": "fortawesome/font-awesome", "source": {"url": "https://github.com/FortAwesome/Font-Awesome.git","type": "git","reference": "master"} } }, { "type": "package", "package": { "version": "dev-master", "name": "fabiomcosta/mootools-meio-mask", "source": {"url": "https://github.com/fabiomcosta/mootools-meio-mask.git","type": "git","reference": "master"} } }, { "type": "package", "package": { "version": "dev-master", "name": "arian/iFrameFormRequest", "source": {"url": "https://github.com/arian/iFrameFormRequest.git","type": "git","reference": "master"} } }, { "type": "package", "package": { "version": "dev-master", "name": "nak5ive/Form.PasswordStrength", "source": {"url": "https://github.com/nak5ive/Form.PasswordStrength.git","type": "git","reference": "master"} } }, { "type": "vcs", "url": "http://github.com/Nodge/lessphp" } ], "require": { "zf2-boiler-app/app-access-control": "1.0.*" }
-
Now tell composer to download ZF2 BoilerApp "Access control" module by running the command:
$ php composer.phar update
Post installation
-
Enabling it in your
application.config.php
file.return array( 'modules' => array( // ... 'DoctrineModule', 'DoctrineORMModule', 'AssetsBundle', 'TwbBundle', 'BoilerAppDb', 'BoilerAppUser', 'BoilerAppDisplay', 'BoilerAppMessenger', 'BoilerAppAccessControl' ), // ... );
Features
- Two steps registrations (confirm email adress)
- Login with username or email adress
- Authentication access is independent of the user account
- An authentication access can be used to access multiple accounts
- An account can be accessed by multiple authentication access