Nette project example for contributte/api-router library by @f3l1x and @paveljanda

v1.1.0 2017-07-20 09:34 UTC

This package is auto-updated.

Last update: 2024-07-10 12:53:55 UTC


Website 🚀 | Contact 👨🏻‍💻 | Twitter 🐦 @contributte


Main goal is to provide skeleton for contributte/api-router library.

Focused on:

  • latest PHP 8
  • nette/* packages



To install latest version of contributte/api-router-skeleton use Composer.

composer create-project -s dev contributte/api-router-skeleton acme

Start PHP development server via make dev.

And take a look at:

Get Started

  • Using contributte/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


See how to contribute to this package.

This package is currently maintained by these authors.

Consider to support contributte development team. Also thank you for using this package.