arquivei/laravel-skeleton-api

The Arquivei Laravel Skeleton API.

v1.0.0 2021-12-15 11:58 UTC

This package is auto-updated.

Last update: 2022-05-11 17:54:57 UTC


README

Base project for REST API using Laravel

Latest Version on Packagist Total Downloads

Requirements

  • PHP 8.1+
  • Composer
  • Git
  • Docker Engine 17.09.0+
  • docker-composer 1.26+

Creating a new API

composer create-project arquivei/laravel-skeleton-api my-api

or

docker run -it --rm -v $PWD:/app composer create-project arquivei/laravel-skeleton-api my-api

Edit .env

  • APP_IDENTIFIER=
  • COMPOSER_AUTH=
make setup

sudo chmod -R 777 storage/

Accessing the test endpoint

curl --header 'x-traceid: a5d112fe87eb473baee742f1328dfc9a' '127.0.0.1:5080/api/v1/test'