Skip to content
Branch: master
Find file History


This repository is meant as a starter project for contributte/api-router.


git pull
cd api-router
composer install


  • Using ublaboo/api-router for routing
  • Implementing IPresenter in endpoints (App\Controllers\LoginController) instead of extending UI\Presenter
  • Extending ApiResponse from Nette JsonResponse, just to make it more simple to add more custom headers and so on
  • LoginController and ErrorController is using ApiResponseFormatter for formatting succes message, payload data or and exception
You can’t perform that action at this time.