Skip to content
Go to file
Cannot retrieve contributors at this time
52 lines (36 sloc) 1.2 KB

REST PHP Tutorial

This repository holds the screencast code, script and HATEOAS for the RESTful APIs in the Real World Episode 1 course from KnpUniversity.

For more details, see the following blog posts:


  1. Download/install Composer into this directory. See

  2. Download the vendor files by running:

php composer.phar install
  1. Point your web server at this directory, or use the built-in PHP web server, which is nice and friendly (but requires PHP 5.4+)
cd web
php -S localhost:8000
  1. Make sure a few directories are writeable:
mkdir logs
mkdir data
chmod 777 logs data
  1. Load up the app in your browser!



As we start writing the content for this tutorial, we invite you to read through it, try things out, and offer improvements, either as issues on this repository or as pull requests. REST is hard, so the more smart minds we can have on it, the better it will be for everyone.


You can’t perform that action at this time.