nebo15/lumen.rest

Components for fast building REST API for Lumen

0.1.2 2016-06-21 11:28 UTC

This package is not auto-updated.

Last update: 2024-04-24 22:14:29 UTC


README

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} ]);