Stars: 262
Forks: 79
Pull Requests: 40
Issues: 9
Watchers: 19
Last Updated: 2022-11-16 16:25:54
Laravel API starter kit collection using different structures.
License: MIT License
Languages: Dockerfile, PHP, Shell, Blade
A Laravel API starter kit collection using different structures.
Not maintained anymore
Today Laravel has almost all these features natively, and I just use the standard skeleton/structure.
I would recommend you to use the standard structure too. Taylor too: https://twitter.com/taylorotwell/status/1590332496767586307
This is a starter kit for your next API using Laravel, implemented with more than one structure, all battle-tested with the same features listed below.
Soon:
The container used is created from Google Cloud Platform official php-docker + swoole and can be found here: https://github.com/ibrunotome/docker-laravel-appengine
The oficial php image from Google Cloud Platform is updated once in a lifetime so I decided to manage my own php images at http://github.com/ibrunotome/php
docker-compose -f docker-compose.develop.yml up
.
Alternatively, if you have an older laptop, try running remotely with
Blimp.docker exec -it default-structure-app bash
php artisan migrate:fresh
And it's up and running :)
The container with xdebug is in the Dockerfile.testing
, you can get into this container using: docker-compose -f docker-compose.testing.yml up -d app
and then:
docker exec -it default-structure-app-testing bash
(off course, default-structure-app is for the default-structure)composer test
composer lint
composer lint:fix
composer phpcpd
composer static:analysis
php artisan insights
To see sonarqube analysis, simple run docker-compose -f docker-compose.sonarqube.yml up
, the quality profile used is PSR-2.
See the contents of the .k8s
folder :)
@ibrunotome |
@crcms |
@ejj |