ibrunotome / laravel-api-templates

Laravel API starter kit collection using different structures.
MIT License
266 stars 82 forks source link
architectural-patterns ddd design-patterns domain-driven-design laravel laravel-ddd laravel-docker laravel-framework laravel-modular laravel-skeleton laravel-swoole php swoole


A Laravel API starter kit collection using different structures.
Not maintained anymore

CI Build Status Build Status License

Screen Shot 2020-09-05 at 21 38 49 Screen Shot 2020-09-05 at 22 12 44 Screen Shot 2019-05-26 at 11 29 40 Screen Shot 2019-05-26 at 11 24 15

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

What is it

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.

Features

Soon:

Up and running

Environment: develop

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

And it's up and running :)

Environment: testing

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:

To see sonarqube analysis, simple run docker-compose -f docker-compose.sonarqube.yml up, the quality profile used is PSR-2.

Environment: production

See the contents of the .k8s folder :)

Email layout

screenshot 2019-02-07 08 26 51

Database structure

Screen Shot 2019-05-26 at 17 55 32

Routes

Screen Shot 2019-05-26 at 17 56 41

Author

ibrunotome
@ibrunotome

Contributors

crcms
@crcms
ejj
@ejj