sneakybobito / incubator
Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.
This package is not auto-updated.
Last update: 2024-12-21 15:54:56 UTC
README
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.
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": "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/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
Cache
- Phalcon\Cache\Backend\Database - Database backend for caching data (phalcon)
- Phalcon\Cache\Backend\Redis - Redis backend for caching data (kenjikobe)
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)
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)
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)
Translate
- Phalcon\Translate\Adapter\Gettext - Translation adapter for Gettext (phalcon)
- Phalcon\Translate\Adapter\Database - Translation adapter using relational databases (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)