PHP code example of rootwork / phalcon-devtools

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

    

rootwork / phalcon-devtools example snippets


$config = [
  'host'     => 'localhost',
  'dbname'   => 'my_db_name',
  'username' => 'my_db_user',
  'password' => 'my_db_user_password',
  'adapter'  => 'Postgresql'
];
bash
php composer.phar install
bash
alias phalcon=/home/[USERNAME]/phalcon-devtools/phalcon.php