/incubator

Incubator adapters/functionality for the Phalcon PHP Framework

Primary LanguagePHP

Latest Version Software License Total Downloads

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 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.

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"
    }
}

If you are still using Phalcon 1.3.x, create a composer.json with the following instead:

{
    "require": {
        "phalcon/incubator": "v1.3.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

For a specific Git branch (eg 1.3.5) please use:

git clone -b 1.3.5 git@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();

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:

Build Status

Contributing

See CONTRIBUTING.md

Contributions Index

Acl

Annotations

Behaviors

Cache

Config

Database

Debug

Logger

Mailer

Template Engines

ORM Validators

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

Test

Translate

Session

Utils

  • Phalcon\Utils\Slug - Creates a slug for the passed string taking into account international characters. (niden)