PHP code example of getsky / phalcon-autoload-services

1. Go to this page and download the library: Download getsky/phalcon-autoload-services 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/ */

    

getsky / phalcon-autoload-services example snippets


$services = new Ini('services.ini');
$dic = new FactoryDefault();

$registrant = new Registrant($services);
$registrant->setDi($dic);
$registrant->registration();
ini
    [route]
    provider = "RouteProvider"