stansmet / incubator

Incubator adapters/functionality for the Phalcon PHP Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Latest Version Software License Total Downloads Daily 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

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

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([
    'Phalcon' => '/path/to/incubator/Library/Phalcon/'
]);

$loader->register();

Testing

See TESTING.md

Contributing

See CONTRIBUTING.md

Contributions Index

Acl

Annotations

Behaviors

Cache

Config

Console

  • 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)

Database

Http

Loader

  • 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)

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)
  • Phalcon\Avatar\Gravatar - Provides an easy way to retrieve a user's profile image from Gravatar site based on a given email address (@sergeyklay)

Validators

License

Incubator is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors

About

Incubator adapters/functionality for the Phalcon PHP Framework


Languages

Language:PHP 99.9%Language:Shell 0.1%