1.0 2017-01-06 15:51 UTC

This package is auto-updated.

Last update: 2020-11-09 20:27:25 UTC


![Travis status] (https://travis-ci.org/damijanc/rest-client-demo.svg?branch=master)


Example rest service using Symfony 3, Doctrine and MariaDB


  • Run in project root composer install
  • Setup database mysql -u root < ./Model/generation.sql

How to run

  • You can run the server with builtin php server just by running php bin/console server:run


To run tests run ./vendor/bin/phpunit in project root

Mock api runner

  • In order to run mock api that you can use to test your you need to have nodejs installed. Then run
npm install
npm run-script run

Your mock api will be accessible on Check RAML for details.