Screencast code, script and a 417 status code for our REST with Symfony tutorial
CSS PHP HTML Other
Latest commit e0d65b6 Dec 6, 2016 @pierregaste pierregaste committed with bocharsky-bw Fix typo case in the phpunit command. (#15)
* Fix typo case in the phpunit command.

Another typo with the case in the commande line :)

* Fix all case typo in phpunit command
Permalink
Failed to load latest commit information.
_tuts Recompile steps after rename method to testGETProgrammersCollectionPa… Dec 5, 2016
app minor tweaks Jul 7, 2015
features/web removing unused test stuff Apr 23, 2015
knpu
resources upating the notes - we also need the web debug toolbar to get this he… Oct 10, 2016
src reversing this - there was a reason it was done this way Apr 5, 2016
vendor/symfony/symfony/src/Symfony/Component upgrading symfony a patch version Sep 29, 2015
web Porting public assets from rest project Apr 18, 2015
.gitignore
README.md Giving this a decent README Mar 15, 2016
behat.yml
composer.json
composer.lock upgrading symfony a patch version Sep 29, 2015

README.md

RESTing with Symfony

Well hi there! This repository holds the code for the whole Symfony REST tutorial series on KnpUniversity:

Setup the Project

Ok, cool - this will be easy!

  1. Make sure you have Composer installed.

  2. Install the composer dependencies:

composer install

Or you may need to run php composer.phar install - depending on how you installed Composer. This will probably ask you some questions about your database (answer for your system) and other settings (just hit enter for these).

  1. Load up your database

Make sure app/config/parameters.yml is correct for your database credentials. Then:

php app/console doctrine:database:create
php app/console doctrine:schema:update --force
php app/console doctrine:fixtures:load
  1. Start up the built-in PHP web server:
php app/console server:run

Then find the site at http://localhost:8000.

You can login with:

user: weaverryan pass: foo

Have fun!