Download the PHP package apitte/presenter without Composer
On this page you can find all versions of the php package apitte/presenter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download apitte/presenter
More information about apitte/presenter
Files in apitte/presenter
Package presenter
Short Description ApiPresenter for Nette framework
License MIT
Homepage https://github.com/apitte/presenter
Informations about the package presenter
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
Disclaimer
| :warning: | This project is no longer being maintained. |
|---|
| Composer | apitte/presenter |
|---|---|
| Version | |
| PHP | |
| License |
About
This package integrated Apitte into nette/routing with a presenter.
Note: Usage of this package was not recommended as it required unnecessary conversion of nette request into psr-7 request. It also added headers from nette response configuration which were usually meant for UI, not an API.
The presenter was incompatible with middlewares.
Usage
To install the latest version of apitte/presenter use Composer.
Setup
First of all, setup core package.
Install apitte/presenter
Configure presenter mapping
Prepend ApiRoute to your router. Therefore you can reach your API at <project>/api.
In index.php drop Apitte\Core\Application\IApplication and keep Nette\Application\Application only.
Version
| State | Version | Branch | Nette | PHP |
|---|---|---|---|---|
| stable | ^0.8 |
master |
3.0+ | >=7.3 |
| stable | ^0.5 |
master |
2.4 | >=7.1 |
Development
This package was maintained by these authors.
Consider to support contributte development team. Also thank you for using this package.
All versions of presenter with dependencies
apitte/core Version ~0.7 || ~0.8
nette/application Version ^3.0.0
nette/http Version ^3.0.1