Phalcon Incubator
Phalcon is a web framework delivered as a C extension providing high performance and lower resource consumption.
This is a repository to publish/share/experiment with new adapters, prototypes or functionality that potentially can be incorporated to the C-framework.
Also we welcome submissions from the community of snippets that could extend the framework more.
The code in this repository is written in PHP.
Installation
Installing via Composer
Install composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Create the composer.json file as follows:
{
"require": {
"phalcon-ext/acl": "dev-master"
}
}
Run the composer installer:
php composer.phar install
Installing via Github
Just clone the repository in a common location or inside your project:
git clone https://github.com/phalcon-ext/acl.git
Autoloading from the Incubator
Add or register the following namespace strategy to your Phalcon\Loader in order to load classes from the incubator repository:
$loader = new Phalcon\Loader();
$loader->registerNamespaces(array(
'Phalcon\Acl' => '/path/to/acl-library/src/'
));
$loader->register();
Contributions Index
Acl
- Phalcon\Acl\Adapter\Database - ACL lists stored in database tables
- Phalcon\Acl\Adapter\Mongo - ACL lists stored in Mongo collections
- Phalcon\Acl\Factory\Memory - ACL factory class intended for use with Memory adapter (digitronac)
Current Build Status
Incubator is built under Travis CI service. Every commit pushed to this repository will queue a build into the continuous integration service and will run all PHPUnit tests to ensure that everything is going well and the project is stable. The current build status is: