PHP code example of stratoss / phalcon2rest

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

    

stratoss / phalcon2rest example snippets


/v1/path1/path2?q=(search1:value1,search2:value2)&fields=(field1,field2,field3)&limit=10&offest=20&type=csv&suppress_error_codes=true

curl -sS getcomposer.org/installer | php

php composer.phar create-project stratoss/phalcon2rest MyAPI --stability dev --no-interaction