arquivei / laravel-skeleton-api
The Arquivei Laravel Skeleton API.
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 18
Forks: 4
Open Issues: 1
Type:project
Requires
- php: ^8.1
- arquivei/events-sender: 3.2.1
- arquivei/laravel-health-checker: 2.2.0
- arquivei/log-adapter: 1.0.0
- fideloper/proxy: 4.4.1
- laravel/framework: 8.75.0
- laravel/tinker: 2.6.3
Requires (Dev)
- facade/ignition: 2.17.2
- fakerphp/faker: 1.17.0
- mockery/mockery: 1.4.4
- nunomaduro/collision: 5.10.0
- phpstan/phpstan: 1.2.0
- phpstan/phpstan-phpunit: 1.0.0
- phpunit/phpunit: 9.5.10
- squizlabs/php_codesniffer: 4.0.x-dev
This package is auto-updated.
Last update: 2024-11-11 23:12:57 UTC
README
Base project for REST API using Laravel
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'