Download the PHP package midorikocak/nano without Composer
On this page you can find all versions of the php package midorikocak/nano. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download midorikocak/nano
More information about midorikocak/nano
Files in midorikocak/nano
Package nano
Short Description Nano is a very very tiny php app that allows you to create very fast rest interfaces.
License MIT
Homepage https://github.com/midorikocak/nano
Informations about the package nano
Nano
CONTRIBUTORS WELCOME
Nano is a very very tiny php library that allows you to create very fast rest APIs.
Think it's like Slim but Nano is only ~6.4 Kilobytes.
Requirements
Strictly requires PHP 7.4.
Install
Via Composer
Usage
Simply instantiate and include in your app.
I know. It's not static.
Defining REST resources
Defining rest routes and using wildcards are easy.
Basic Auth
It's possible hide your routes behind an authentication layer. Currently it expects basic auth, more methods to come soon.
Hence the basic auth is not encrypted, using https is strictly advised.
Testing
You can test your live API using Guzzle/Client
Motivation
Mostly educational purposes.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Midori Kocak
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nano with dependencies
ext-json Version *