- REST API boilerplate for Lumen micro-framework with MongoDB database.
- Implements JSON API and OAuth2 authentication.
- Lightweight and super-fast due to leveraging PHP OPcache for caching data output.
git clone https://github.com/elcobvg/rest-api-lumen.git
cd rest-api-lumen
cp .env.example .env
composer install
- Edit
.env
and set your MongoDB connection details php artisan migrate
php artisan passport:install