PHP code example of phalcon / incubator

1. Go to this page and download the library: Download phalcon/incubator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

phalcon / incubator example snippets



$loader = new Phalcon\Loader();

$loader->registerNamespaces(
    [
        'Phalcon' => '/path/to/incubator/Library/Phalcon/',
    ]
);

$loader->register();
bash
$ php composer.phar install