kingscode / laravel-api-starter
The KingsCode Laravel Api Starter.
Requires
- php: >=7.4
- fideloper/proxy: ^4.2
- fruitcake/laravel-cors: ^1.0
- guzzlehttp/guzzle: ^6.5
- koenhoeijmakers/headers: ^1.0
- koenhoeijmakers/laravel-filterable: ^4.3
- laravel/framework: ^7.0
- laravel/tinker: ^2.1
- sentry/sentry-laravel: ^1.7
Requires (Dev)
- ext-json: *
- facade/ignition: ^2.0
- fzaninotto/faker: ^1.9
- mockery/mockery: ^1.3
- nunomaduro/collision: ^4.1
- phpunit/phpunit: ^9.0
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-11-13 16:31:21 UTC
README
Our base laravel/laravel
installation for vue
front-end applications.
Usage
Use this repository as a template repository in github or clone the repository.
After install there will be a default user with the following credentials.
email: info@kingscode.nl password: secret
Installation
With Docker
Docker helps a ton by providing us a unison development environment that allows us to quickly install new dependencies and share the configuration of those.
Begin by pulling the docker containers and booting docker.
docker-compose up --build -d
Then get into the app
container.
docker exec -it app bash
Where you'll run the following commands.
cp .env.example .env composer install pa key:generate pa migrate pa db:seed
Without Docker
You can also run without Docker, but you'll have to do the walk of atonement.
Start by setting up your environment and installing dependencies.
Then run the following to copy the .env
file and fill it accordingly:
cp .env.example .env
Then run the following commands to get it all booted up.
composer install php artisan key:generate php artisan migrate php artisan db:seed