Website ๐ contributte.org | Contact ๐จ๐ปโ๐ป f3l1x.io | Twitter ๐ฆ @contributte
Main goal is to provide skeleton for contributte/api-router library.
Focused on:
- latest PHP 8
nette/*packages
https://examples.contributte.org/api-router-skeleton/
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:
- Using
contributte/api-routerfor routing - Implementing
IPresenterin endpoints (App\Controllers\LoginController) instead of extendingUI\Presenter - Extending
ApiResponsefrom NetteJsonResponse, just to make it more simple to add more custom headers and so on LoginControllerandErrorControlleris usingApiResponseFormatterfor 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.