This is a repository to publish/share/experiment with new adapters, prototypes or functionality that can potentially be incorporated into the Phalcon 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
Then create the composer.json
file as follows:
{
"require": {
"phalcon/incubator": "^3.4"
}
}
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
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
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();
Tests are located in tests/
and use Codeception. See tests/README.md.
See CONTRIBUTING.md.
See INDEX.md.
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
Support us with a monthly donation and help us continue our activities. [Become a backer]
Incubator is open-sourced software licensed under the New BSD License.
© 2011-2018, Phalcon Framework Team