Skip to content

phalcon/incubator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7193e7a · Jun 19, 2017
Mar 28, 2017
Jun 19, 2017
Jun 19, 2017
Jul 29, 2016
Jun 19, 2017
Oct 2, 2016
Jun 19, 2017
May 23, 2017
Jun 19, 2017
Dec 11, 2016
Jun 19, 2017
Mar 9, 2017

Repository files navigation

Phalcon Incubator

Build Status Latest Version Software License Total Downloads Daily Downloads

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

Then create the composer.json file as follows:

{
    "require": {
        "phalcon/incubator": "^3.2"
    }
}

If you are still using Phalcon 2.0.x, create the composer.json file as follows:

{
    "require": {
        "phalcon/incubator": "^2.0"
    }
}

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 2.0.13) please use:

git clone -b 2.0.13 [email protected]: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

Tests are located in tests/ and use Codeception. See tests/README.md.

Contributing

See CONTRIBUTING.md.

Contributions Index

See INDEX.md.

License

Incubator is open-sourced software licensed under the New BSD License.
© 2011-2016, Phalcon Framework Team