Nebo15 / lumen-rest by AndrewDryga

Components for fast building REST API for Lumen
2,042
1
3
Package Data
Maintainer Username: AndrewDryga
Package Create Date: 2016-03-03
Package Last Update: 2016-06-21
Language: PHP
License: MIT
Last Refreshed: 2025-12-11 03:09:40
Package Statistics
Total Downloads: 2,042
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 0
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} ]);