Download the PHP package aalfiann/slim-jwt-skeleton without Composer
On this page you can find all versions of the php package aalfiann/slim-jwt-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aalfiann/slim-jwt-skeleton
More information about aalfiann/slim-jwt-skeleton
Files in aalfiann/slim-jwt-skeleton
Download aalfiann/slim-jwt-skeleton
More information about aalfiann/slim-jwt-skeleton
Files in aalfiann/slim-jwt-skeleton
Vendor aalfiann
Package slim-jwt-skeleton
Short Description This is a skeleton to built rest api with slim framework 3 and JWT Auth.
License MIT
Package slim-jwt-skeleton
Short Description This is a skeleton to built rest api with slim framework 3 and JWT Auth.
License MIT
Please rate this library. Is it a good library?
Informations about the package slim-jwt-skeleton
Slim-JWT-Skeleton
This is a skeleton to built rest api with slim framework 3 and JWT Auth.
Dependencies
- Logger >> monolog/monolog
- HTTP Cache >> slim/http-cache
- Slim JWT Auth >> tuupola/slim-jwt-auth
- Cors Middleware >> tuupola/cors-middleware
- ETag Middleware >> aalfiann/slim-etag-middleware
Installation
Install this package via Composer.
Getting Started
How to generate Token
Send request to https://yourdomain.com/api/generate
How to test
Send request to https://yourdomain.com/api/
How to create new application
- Go to modules directory
- Create new folder
my_app
- To create routes, you should follow this pattern >>
*.router.php
- Done
Example
This is just the part code of my_app.router.php
file,
please take look at modules/my_app/my_app.router.php
for more detail.
Note:
- Documentation about
Slim
is available on slimframework.com. - This is a forked version from the original slimphp/Slim-Skeleton.
All versions of slim-jwt-skeleton with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
slim/slim Version ^3.1
slim/http-cache Version ^0.4.0
monolog/monolog Version ^1.22
aalfiann/slim-etag-middleware Version ^1.0
tuupola/slim-jwt-auth Version ^3.3
tuupola/cors-middleware Version ^0.9.4
slim/slim Version ^3.1
slim/http-cache Version ^0.4.0
monolog/monolog Version ^1.22
aalfiann/slim-etag-middleware Version ^1.0
tuupola/slim-jwt-auth Version ^3.3
tuupola/cors-middleware Version ^0.9.4
The package aalfiann/slim-jwt-skeleton contains the following files
Loading the files please wait ....