Skip to content

CatLabInteractive/laravel-charon-template

Repository files navigation

Laravel Charon REST API project

Build Status

This project is built using

What does this project include?

Laravel skeleton for a project:

  • Laravel 5.7
  • Laravel passport with oauth2 implicit configuration
  • Charon resource transformer

Installation

  • composer create-project catlabinteractive/laravel-charon api
  • Copy .env.example to .env
  • Make sure to set APP_URL in your .env file before you continue, this will make sure the swagger oauth2 client is setup correctly. Also set your database credentials etc
  • Run php artisan key:generate
  • Run php artisan migrate
  • Run php artisan passport:keys to get api access tokens.

Getting started

Navigate to your-project/docs to load the swagger documentation.