PHP code example of m-fejczaruk / symfony2-rest-skeleton

1. Go to this page and download the library: Download m-fejczaruk/symfony2-rest-skeleton 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/ */

    

m-fejczaruk / symfony2-rest-skeleton example snippets

 app/console router:debug | grep cart

curl -sS https://getcomposer.org/installer | php

GET app_dev.php/carts
GET app_dev.php/carts/{id}
POST app_dev.php/carts
PUT app_dev.php/carts/{id}
DELETE app_dev.php/carts/{id}