Simple lending lib project php api made with Lumen - the Laravel framework's spin off microframework.
- Eloquent
- Bearer token authentication
- Carbon
- git clone, cp .env.example .env
- Setup the database, add the key to the .env with similar command
php -r "require 'vendor/autoload.php'; echo str_random(32).PHP_EOL;"
- Run the php server
php -S 0.0.0.0:8000 -t public/
- Hit the endpoints, see the routes/web.php to get an overview
- Run migrations and seeds -
php artisan migrate:fresh --seed
- Postman collection
- Tests
- Cleanup
The Lumen framework is open-sourced software licensed under the MIT license.