Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Documentation for the framework can be found on the Lumen website.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under the MIT license
Method | Url | Controler@method | Information |
---|---|---|---|
GET | http://geniuscap.fr/user | UtilisateurController@index | User authenticate |
GET | http://geniuscap.fr/user/{id} | UtilisateurController@find | Fetch User by id |
POST | http://geniuscap.fr/create | UtilisateurController@create | Create a new User |
PUT | http://geniuscap.fr/ or (update) | UtilisateurController@update | Update User auth |
DELETE | http://geniuscap.fr/ or (delete) | UtilisateurController@delete | Delete User auth |
Send HTTP request (Before create POST).
Ex Headers for login
lastname lastennet
firstname loïc
id NFC Carte xxxxxxxxx
401 Unauthorized -> You have give wrong 'NFC id' or lastname && firstname
404 Not Found -> You use wrong URI or use bad URL
500 Internal Server Error -> You do something wrong ? No it's good, it's not your fault !