This is a Laravel API boilerplate with built-in cookie based session authentication.
- Clone the repository
- Run
composer install
- Copy
.env.example
to.env
- Edit
.env
and set your database connection details
- Run
php artisan migrate
to create the tables
- Run
php artisan serve
to start the development server - Visit
http://localhost:8000
in your browser
- Run
php artisan test
to run the tests
- Run
./vendor/bin/pint
orcomposer run pint
to run the linter - Run
./vendor/bin/pint --test
to run the linter without actually changing the files
The Laravel framework is open-sourced software licensed under the MIT license.