Download the PHP package contributte/api-router-skeleton without Composer
On this page you can find all versions of the php package contributte/api-router-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download contributte/api-router-skeleton
More information about contributte/api-router-skeleton
Files in contributte/api-router-skeleton
Package api-router-skeleton
Short Description Example starter project for ublaboo/api-router
License MIT
Homepage https://github.com/ublaboo/api-router-project
Informations about the package api-router-skeleton
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
Goal
Main goal is to provide skeleton for contributte/api-router library.
Focused on:
- latest PHP 8
nette/*
packages
Demo
https://examples.contributte.org/api-router-skeleton/
Installation
To install latest version of contributte/api-router-skeleton
use Composer.
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 extendingUI\Presenter
- Extending
ApiResponse
from NetteJsonResponse
, just to make it more simple to add more custom headers and so on LoginController
andErrorController
is usingApiResponseFormatter
for formatting succes message, payload data or and exception
Development
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.
All versions of api-router-skeleton with dependencies
nette/application Version ^2.4
nette/bootstrap Version ^2.4.2
nette/caching Version ^2.5
nette/di Version ^2.4
nette/http Version ^2.4
nette/security Version ^2.4
nette/utils Version ^2.4
tracy/tracy Version ^2.4
ublaboo/api-router Version ~2.0.0