Nebo15 / lumen-rest by AndrewDryga

Components for fast building REST API for Lumen
1,941
1
5
Package Data
Maintainer Username: AndrewDryga
Package Create Date: 2016-03-03
Package Last Update: 2016-06-21
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:17:15
Package Statistics
Total Downloads: 1,941
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 1
Total Watchers: 5
Total Forks: 1
Total Open Issues: 0

Lumen REST API components

Create CRUD endpoints, Model and Repository

php artisan rest:create {NAME}

Add into routes.php next code:

$api = $app->make('Nebo15\REST\Router');
$api->api({API PREFIX}, '{NAME}Controller', [ {MIDDLEWARE} ]);