Basic structure for creating REST APIs using Lumen Framework 8 and JWT authentication - generating universally unique identifiers (UUIDs)
- PHP >= 7.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
$ git clone https://github.com/krepe/lumen8-api-skeleton.git
$ cd lumen8-api-skeleton.git/IMPORTANT: configure .env (copy .env.example) at the root of the application with the development variables: connections with MySQL.
$ composer install
$ php artisan key:generate
$ php artisan jwt:secret
$ php artisan migrate
$ php artisan db:seed --class=UserSeeder
$ php -S localhost:8000 -t publicDevelopment server running in: http://localhost:8000
- Lumen Micro Framework [https://lumen.laravel.com/docs/8.x]
- JWT Auth [https://github.com/tymondesigns/jwt-auth/]
- Lumen Config Discover [https://github.com/tymondesigns/jwt-auth/]
- Lumen Generator [https://github.com/chuckrincon/lumen-config-discover]