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 can potentially be incorporated into the framework.
We also welcome submissions of snippets from the community, to further extend the framework.
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
If you are using Phalcon 2.0.x, create the composer.json
file as follows:
{
"require": {
"phalcon/incubator": "^2.0"
}
}
If you are still using Phalcon 1.3.x, create a composer.json
with the following instead:
{
"require": {
"phalcon/incubator": "^1.3"
}
}
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
For a specific Git branch (eg 1.3.5) please use:
git clone -b 1.3.5 [email protected]: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([
'Phalcon' => '/path/to/incubator/Library/Phalcon/'
]);
$loader->register();
See TESTING.md
See CONTRIBUTING.md
- Phalcon\Acl\Adapter\Database - ACL lists stored in database tables (@phalcon)
- Phalcon\Acl\Adapter\Mongo - ACL lists stored in Mongo collections (@phalcon)
- Phalcon\Acl\Adapter\Redis - ACL lists stored in a Redis cluster (@Green-Cat)
- Phalcon\Acl\Factory\Memory - ACL factory class intended for use with Memory adapter (@digitronac)
- Phalcon\Annotations\Adapter\Memcached - Memcached adapter for storing annotations (@igusev)
- Phalcon\Mvc\Model\Behavior\Blameable - logs with every created or updated row in your database who created and who updated it (@phalcon)
- Phalcon\Mvc\Model\Behavior\NestedSet - Nested Set behavior for models (@braska)
- Phalcon\Cache\Backend\Aerospike - Aerospike backend for caching data (@sergeyklay)
- Phalcon\Cache\Backend\Database - Database backend for caching data (@phalcon)
- Phalcon\Cache\Backend\Wincache - Wincache backend for caching data (@nazwa)
- Phalcon\Config\Loader - Dynamic config loader by file extension (@Kachit)
- Phalcon\Cli\Console\Extended - Extended Console application that uses annotations in order to create automatically a help description (@sarrubia)
- Phalcon\Cli\Environment - This component provides functionality that helps writing CLI oriented code that has runtime-specific execution params (@sergeyklay)
- Phalcon\Db\Adapter\Cacheable\Mysql - MySQL adapter that aggressively caches all the queries executed (@phalcon)
- Phalcon\Db\Adapter\Factory - Phalcon DB adapters Factory (@Kachit)
- Phalcon\Http - Uri utility (@tugrul)
- Phalcon\Http\Client - Http Request and Response (@tugrul)
- Phalcon\Loader\Extended - This component extends
Phalcon\Loader
and added ability to set multiple directories per namespace (@sergeyklay) - Phalcon\Loader\PSR - Implements PSR-0 autoloader for your apps (@Piyush)
- 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)
- Phalcon\Logger\Adapter\Udplogger - Adapter to log messages using UDP protocol to external server (@vitalypanait)
- Phalcon\Logger\Adapter\File\Multiple - Adapter to log to multiple files (@rlaffers)
- Phalcon\Mailer\Manager - Mailer wrapper over SwiftMailer (@KorsaR-ZN)
- 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\Mvc\Model\Validator\CardNumber - Allows to validate credit card number using Luhn algorithm (@parshikov)
- Phalcon\Mvc\Model\Validator\Decimal - Allows to validate if a field has a valid number in proper decimal format (negative and decimal numbers allowed) (@sergeyklay)
- Phalcon\Mvc\Model\Validator\Between - Validates that a value is between a range of two values (@sergeyklay)
- 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\Database - Translation adapter using relational databases (@phalcon)
- Phalcon\Translate\Adapter\ResourceBundle - Translation adapter using ResourceBundle (@phalcon)
- Phalcon\Session\Adapter\Aerospike - Aerospike adapter for storing sessions (@sergeyklay)
- Phalcon\Session\Adapter\Database - Database adapter for storing sessions (@phalcon)
- Phalcon\Session\Adapter\Mongo - MongoDb 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)
- Phalcon\Avatar\Gravatar - Provides an easy way to retrieve a user's profile image from Gravatar site based on a given email address (@sergeyklay)
- Phalcon\Validation\Validator\ConfirmationOf - Validates confirmation of other field value (@davihu)
- Phalcon\Validation\Validator\MongoId - Validate MongoId value (@Kachit)
- Phalcon\Validation\Validator\PasswordStrength - Validates password strength (@davihu)
Incubator is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors