Example for API Wrapper Bundle for Symfony
Example project that shows how easy is to use an API using the API Wrapper Bundle for Symfony
- app/config/services.yml
- src/AppBundle/Controller/IndexController.php
- src/AppBundle/Service/ApiXkcdServiceInterface.php
- src/AppBundle/Service/ApiXkcdService.php
Please, refer to API Wrapper Bundle for Symfony for more details.
composer install
app/console server:run
Load http://127.0.0.1:8000 in your favourite browser