Written WITHOUT FOSUserBundle and FOSRestBundle
2000 lines under your control.
Requirements: PHP min. version 7.2.0
See demo: http://rest-api.tulik.io
Clone repository
git clone git@github.com:tulik/symfony-4-rest-api.git
Install dependencies
composer install
Start local server
bin/console server:start
It is possible filtering data using LexikFormFilterBundle and to paginate results using whiteoctober/Pagerfanta
The whole API including contains only ~2000 lines of code, gives you full control possibility to adapt it to an existing project with ease.
Extending its functionality of additional ElasticSearch, Redis or RabbitMQ solution is straightforward. In case you need to change something it's always under your