damijanc / rest-server-demo
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- incenteev/composer-parameter-handler: ^2.0
- jms/di-extra-bundle: ^1.8
- jms/serializer-bundle: ^1.1
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/monolog-bundle: ~2.11.3
- symfony/polyfill-apcu: ^1.0
- symfony/swiftmailer-bundle: ^2.3
- symfony/symfony: 3.1.*
Requires (Dev)
- phpunit/phpunit: ^5.6
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is auto-updated.
Last update: 2024-11-10 04:53:25 UTC
README
![Travis status] (https://travis-ci.org/damijanc/rest-server-demo.svg?branch=master)
simple-rest
Example rest service using Symfony 3, Doctrine and MariaDB
Installation:
- 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
Tests
To run tests run ./vendor/bin/phpunit
in project root