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 Lumen, 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
- Goto foler application from cmd
type command :
- composer.phar update -v
- php artisan migrate
- composer dump-autoload
- php artisan migrate:refresh --seed
- php -S localhost:8000 -t public
- Open Application Api for testing Rest API (ex Postman)
- Test REST API
-
Login [POST] http://localhost:8000/login [Data] ex {'username':'edi.y','password':'bismillah'}
-
User ex (header -> api-token : 92b3dc9cda3545b89ff557b6b4af95fa2f3470c4) [GET] http://localhost:8000/user/1
[POST] http://localhost:8000/user/save [GET] http://localhost:8000/user/delete/1 [POST] http://localhost:8000/user/update/1 -
School ex (header -> api-token : 92b3dc9cda3545b89ff557b6b4af95fa2f3470c4) [GET] http://localhost:8000/school/1 [POST] http://localhost:8000/school/save [GET] http://localhost:8000/school/delete/1 [POST] http://localhost:8000/school/update/1
-
Student ex (header -> api-token : 92b3dc9cda3545b89ff557b6b4af95fa2f3470c4) [GET] http://localhost:8000/student/1 [POST] http://localhost:8000/student/save [GET] http://localhost:8000/student/delete/1 [POST] http://localhost:8000/student/update/1
-
Payment ex (header -> api-token : 92b3dc9cda3545b89ff557b6b4af95fa2f3470c4) [GET] http://localhost:8000/payment [GET] http://localhost:8000/payment/1 [GET] http://localhost:8000/payment/pay/1 [GET] http://localhost:8000/payment/cancel/1
-