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/incubator": "v1.2.5"
}
}
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/incubator.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' => '/path/to/incubator/Library/Phalcon/'
));
$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)
Cache
- Phalcon\Cache\Backend\Database - Database backend for caching data (phalcon)
- Phalcon\Cache\Backend\Redis - Redis backend for caching data (kenjikobe)
- Phalcon\Cache\Backend\Wincache - Wincache backend for caching data (nazwa)
Config
- Phalcon\Config\Adapter\Json - Json adapter (ofpiyush)
- Phalcon\Config\Adapter\Yaml - YAML adapter (freekzy)
Database
- Phalcon\Db\Adapter\Cacheable\Mysql - MySQL adapter that agressively caches all the queries executed (phalcon)
Debug
- Phalcon\Debug\Dump - Variable dumper (digitronac)
Logger
- Phalcon\Logger\Adapter\Firephp - Adapter to log messages in Firebug (phalcon)
- Phalcon\Logger\Adapter\Database - Adapter to store logs in a database table (phalcon)
- Phalcon\Logger\Adapter\Firelogger - Adapter to log messages in the Firelogger console in Firebug (phalcon)
Template Engines
- Phalcon\Mvc\View\Engine\Mustache - Adapter for Mustache (phalcon)
- Phalcon\Mvc\View\Engine\Twig - Adapter for Twig (phalcon)
- Phalcon\Mvc\View\Engine\Smarty - Adapter for Smarty (phalcon)
ORM Validators
- Phalcon\Mvc\Model\Validator\ConfirmationOf - Allows to validate if a field has a confirmation field with the same value (suxxes)
Error Handling
- Phalcon\Error - Error handler used to centralize the error handling and displaying clean error pages (theDisco)
- Phalcon\Utils\PrettyExceptions - Pretty Exceptions is an utility to show exceptions/errors/warnings/notices using a nicely visualization. (phalcon/kenjikobe)
Queue
- Phalcon\Queue\Beanstalk\Extended - Extended class to access the beanstalk queue service (endeveit)
Test
- Phalcon\Test\FunctionalTestCase - Mvc app test case wrapper (thecodeassassin)
- Phalcon\Test\ModelTestCase - Model test case wrapper (thecodeassassin)
- Phalcon\Test\UnitTestCase - Generic test case wrapper (thecodeassassin)
Translate
- Phalcon\Translate\Adapter\Gettext - Translation adapter for Gettext (phalcon)
- Phalcon\Translate\Adapter\Database - Translation adapter using relational databases (phalcon)
- Phalcon\Translate\Adapter\Csv - Translation adapter using CSV (phalcon)
Session
- Phalcon\Session\Adapter\Database - Database adapter for storing sessions (phalcon)
- Phalcon\Session\Adapter\Memcache - Memcache adapter for storing sessions (meets-ecommerce)
- Phalcon\Session\Adapter\Mongo - MongoDb adapter for storing sessions (phalcon)
- Phalcon\Session\Adapter\Redis - Redis adapter for storing sessions (phalcon)
- Phalcon\Session\Adapter\HandlerSocket - HandlerSocket adapter for storing sessions (Xrymz)
Utils
- Phalcon\Utils\Slug - Creates a slug for the passed string taking into account international characters. (niden)
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: