Tutorial by Examples

The Phalcon Incubator can be used by the community to experiment with new features or expand onto the existing Phalcon adapters, prototypes or functionalities. Anything in the Incubator can be potentially corporated into the framework. Github repository: https://github.com/phalcon/incubator
Installation via Composer The easiest way to install the Incubator is by using Composer. Install Composer and create a new composer.json file in the root of your project. |-- app |-- public | `-- index.php |-- vendor |-- composer.json Add the following content to the composer.json file. ...
Loading the Incubator into your project Add the following lines of code to your loader file $loader = new Phalcon\Loader(); $loader->registerNamespaces([ 'Phalcon' => '/path/to/your/vendor/phalcon/incubator/Library/Phalcon/', // any other namespaces you have loaded // ... ...

Page 1 of 1