Skip to content

frans-slabbekoorn/laravel-api

Repository files navigation

Laravel API

This is a Laravel API boilerplate with built-in cookie based session authentication.

Installation

  1. Clone the repository
  2. Run composer install

Configuration

  1. Copy .env.example to .env
  2. Edit .env and set your database connection details

Database

  1. Run php artisan migrate to create the tables

Usage

  1. Run php artisan serve to start the development server
  2. Visit http://localhost:8000 in your browser

Testing

  1. Run php artisan test to run the tests

Linting

  1. Run ./vendor/bin/pint or composer run pint to run the linter
  2. Run ./vendor/bin/pint --test to run the linter without actually changing the files

License

The Laravel framework is open-sourced software licensed under the MIT license.

Credits

About

Laravel API boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published