Download the PHP package mijohansen/slim-swagger without Composer
On this page you can find all versions of the php package mijohansen/slim-swagger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mijohansen/slim-swagger
More information about mijohansen/slim-swagger
Files in mijohansen/slim-swagger
Download mijohansen/slim-swagger
More information about mijohansen/slim-swagger
Files in mijohansen/slim-swagger
Vendor mijohansen
Package slim-swagger
Short Description Simpler way to hook a swagger api into slim-framework.
License MIT
Package slim-swagger
Short Description Simpler way to hook a swagger api into slim-framework.
License MIT
Please rate this library. Is it a good library?
Informations about the package slim-swagger
php-slim-swagger
Slim needs a simpler way to define an Swagger API. No docblock magic, just code.
This project is at an early stage. Functionality will break.
Usage
Adding the dependencies to the container
You need to override the router and add the swagger liberary to Slim. A clean way of doing this is BEFORE the $app object is initiated.
Minimal example:
Installing the swagger route:
All versions of slim-swagger with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-json Version *
psx/model Version ^2.0
slim/slim Version ^3.10
psx/schema Version ^2.4
composer/spdx-licenses Version ^1.4
symfony/console Version ^3.4
doctrine/annotations Version 1.4
eloquent/composer-config-reader Version ^2.1
myclabs/deep-copy Version 1.7
ext-json Version *
psx/model Version ^2.0
slim/slim Version ^3.10
psx/schema Version ^2.4
composer/spdx-licenses Version ^1.4
symfony/console Version ^3.4
doctrine/annotations Version 1.4
eloquent/composer-config-reader Version ^2.1
myclabs/deep-copy Version 1.7
The package mijohansen/slim-swagger contains the following files
Loading the files please wait ....