Download the PHP package unofficialmc2/foundation-api without Composer
On this page you can find all versions of the php package unofficialmc2/foundation-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download unofficialmc2/foundation-api
More information about unofficialmc2/foundation-api
Files in unofficialmc2/foundation-api
Download unofficialmc2/foundation-api
More information about unofficialmc2/foundation-api
Files in unofficialmc2/foundation-api
Vendor unofficialmc2
Package foundation-api
Short Description Package contenant un ensemble de class permettant de construire un API avec Slim v4
License MIT
Package foundation-api
Short Description Package contenant un ensemble de class permettant de construire un API avec Slim v4
License MIT
Please rate this library. Is it a good library?
Informations about the package foundation-api
Foundation API
foundation-api est une collection de class pour faciliter la création et l'utilisation d'une APIA avec le framework Slim v4
Installation
Utilisation
App Factory
C'est une class static qui a la méthode create
qui prend en paramètre un tableau de settings
settings
L'exemple ci-dessus est le strict minimum pour les settings de l'app
create
Les Middleware
Pour créer un middleware utiliser la class \Api\MiddleWare
et implémenter la methode __invoke
.
⚠️Ne pas modifier la signature du contructeur
exemple :
All versions of foundation-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-curl Version *
ext-json Version *
ext-openssl Version *
ext-pdo Version *
unofficialmc2/http-exception Version ^3.0
unofficialmc2/instance-resolver Version ^2.0
unofficialmc2/migration Version ^2.0
unofficialmc2/pdo-helper Version ^2.0
unofficialmc2/respect-validation-wrapper Version ^4.0
monolog/monolog Version ^3.2
pimple/pimple Version ^3.5
slim/http Version ^1.2
slim/psr7 Version ^1.5
slim/slim Version ^4.10
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-openssl Version *
ext-pdo Version *
unofficialmc2/http-exception Version ^3.0
unofficialmc2/instance-resolver Version ^2.0
unofficialmc2/migration Version ^2.0
unofficialmc2/pdo-helper Version ^2.0
unofficialmc2/respect-validation-wrapper Version ^4.0
monolog/monolog Version ^3.2
pimple/pimple Version ^3.5
slim/http Version ^1.2
slim/psr7 Version ^1.5
slim/slim Version ^4.10
ext-mbstring Version *
The package unofficialmc2/foundation-api contains the following files
Loading the files please wait ....