Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.
This is a repository to publish/share/experimient 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.
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": "dev-master"
}
}
Run the composer installer:
php composer.phar install
Just clone the repository in a common location or inside your project:
git clone https://github.com/phalcon/incubator.git
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();
- Phalcon\Acl\Adapter\Database - ACL lists stored in database tables
- Phalcon\Acl\Adapter\Mongo - ACL lists stored in Mongo collections
- Phalcon\Cache\Backend\Database - Database backend for caching data (phalcon)
- Phalcon\Cache\Backend\Redis - Redis backend for caching data (kenjikobe)
- Phalcon\Config\Adapter\Json - Json adapter (ofpiyush)
- Phalcon\Config\Adapter\Yaml - YAML adapter (freekzy)
- Phalcon\Db\Adapter\Cacheable\Mysql - MySQL adapter that agressively caches all the queries executed (phalcon)
- 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\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)
- Phalcon\Mvc\Model\Validator\ConfirmationOf - Allows to validate if a field has a confirmation field with the same value (suxxes)
- 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)
- Phalcon\Queue\Beanstalk\Extended - Extended class to access the beanstalk queue service (endeveit)
- 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)
- 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)
- 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)
- Phalcon\Utils\Slug - Creates a slug for the passed string taking into account international characters. (niden)