XML Orders
Introduction
This application loads two xmls and persist their informations. It uses Symfony2, doctrine, composer, mysql.
Installation
- Clone the project
- Run the command
composer install
- Setup Database Configuration at
app/config/parameters.yml
- Run the command
php app/console doctrine:schema:create
to create tables - Run the command
php app/console server:run
to open server
Tests
- You have to manually run fixtures with command
php app/console doctrine:fixtures:load --no-interaction
to seed your database - Run the command
phpunit -c app
Feats
- Drag & Drop component
- Functional Tests
- Generated API Simple Document (you have to put
?_doc=1
after the API urls) - Repository Pattern and Depency Injection (Controllers and Repositories are services)