2017 © Pedro Peláez
 

project symfony2-rest-skeleton

The Symfony2 "Rest edition skeleton" based on "Symfony Standard Edition" distribution

image

m-fejczaruk/symfony2-rest-skeleton

The Symfony2 "Rest edition skeleton" based on "Symfony Standard Edition" distribution

  • Monday, July 31, 2017
  • by ateoem
  • Repository
  • 1 Watchers
  • 1 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Build Status, (*1)

Symfony2 Rest Skeleton

This is skeleton for building rest applications in Symfony2. Also one restful service is included., (*2)

Installation

If you don't have composer installed, (*3)

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

If you've composer installed, (*4)

php composer.phar create-project m-fejczaruk/symfony2-rest-skeleton rest-example
cd rest-example
php app/console doctrine:migrations:migrate

And now you can enjoy phpunit tests :), (*5)

phpunit -c app/

And you can also check all carts ( basic restful service ) routes: php app/console router:debug | grep cart, (*6)

You can test 'cart' restful api, with postman:, (*7)

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}

The Versions