All Projects → ibrunotome → Laravel Api Templates

ibrunotome / Laravel Api Templates

Licence: mit
Laravel API starter kit collection using different structures.

Projects that are alternatives of or similar to Laravel Api Templates

Dotnet New Caju
Learn Clean Architecture with .NET Core 3.0 🔥
Stars: ✭ 228 (+53.02%)
Mutual labels:  design-patterns, ddd, domain-driven-design
Php Ddd Example
🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 5
Stars: ✭ 1,960 (+1215.44%)
Mutual labels:  laravel, ddd, domain-driven-design
Domain Driven Hexagon
Guide on Domain-Driven Design, software architecture, design patterns, best practices etc.
Stars: ✭ 4,417 (+2864.43%)
Mutual labels:  design-patterns, domain-driven-design, architectural-patterns
Sample Dotnet Core Cqrs Api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
Stars: ✭ 1,273 (+754.36%)
Mutual labels:  design-patterns, ddd, domain-driven-design
Modular Monolith With Ddd
Full Modular Monolith application with Domain-Driven Design approach.
Stars: ✭ 6,210 (+4067.79%)
Mutual labels:  design-patterns, ddd, domain-driven-design
awesome-software-architecture
A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.
Stars: ✭ 1,594 (+969.8%)
Mutual labels:  ddd, design-patterns, architectural-patterns
Run Aspnetcore
A starter kit for your next ASP.NET Core web application. Boilerplate for ASP.NET Core reference application, demonstrating a layered application architecture with applying Clean Architecture and DDD best practices. Download 100+ page eBook PDF from here ->
Stars: ✭ 227 (+52.35%)
Mutual labels:  design-patterns, ddd, domain-driven-design
teamo-ddd-example
Implementing Domain Driven Design in PHP using Laravel
Stars: ✭ 46 (-69.13%)
Mutual labels:  ddd, domain-driven-design, laravel-framework
Cp Ddd Framework
A lightweight flexible development framework for complex business architecture with full ecosystem!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!
Stars: ✭ 566 (+279.87%)
Mutual labels:  design-patterns, ddd, domain-driven-design
Nlayerappv3
Domain Driven Design (DDD) N-LayeredArchitecture with .Net Core 2
Stars: ✭ 138 (-7.38%)
Mutual labels:  ddd, domain-driven-design, architectural-patterns
Eventflow
Async/await first CQRS+ES and DDD framework for .NET
Stars: ✭ 1,932 (+1196.64%)
Mutual labels:  ddd, domain-driven-design
Programming Principles
Categorized overview of programming principles & design patterns
Stars: ✭ 1,735 (+1064.43%)
Mutual labels:  design-patterns, architectural-patterns
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (-24.16%)
Mutual labels:  laravel, laravel-framework
Bifrost
This is the stable release of Dolittle till its out of alpha->beta stages
Stars: ✭ 111 (-25.5%)
Mutual labels:  ddd, domain-driven-design
Laravel Form Builder
Laravel Form builder for version 5+!
Stars: ✭ 1,601 (+974.5%)
Mutual labels:  laravel, laravel-framework
Java Ddd Example
☕🎯 Hexagonal Architecture + DDD + CQRS in a Java project using SpringBoot
Stars: ✭ 119 (-20.13%)
Mutual labels:  ddd, domain-driven-design
Php Ext Xlswriter
🚀 PHP Extension for creating and reader XLSX files.
Stars: ✭ 1,734 (+1063.76%)
Mutual labels:  laravel, swoole
Crudbooster
Laravel CRUD Generator, Make an Advanced Web Application Quickly
Stars: ✭ 1,580 (+960.4%)
Mutual labels:  laravel, laravel-framework
Eshoponcontainersddd
Fork of dotnet-architecture/eShopOnContainers in full DDD/CQRS design using my own patterns
Stars: ✭ 126 (-15.44%)
Mutual labels:  ddd, domain-driven-design
Laravel Social Email Authentication
Laravel 5.3 bootstrap app with Multi Auth, Social and Email Authentication. Google re-Captcha, Facebook, Twitter, G+ and much more..
Stars: ✭ 129 (-13.42%)
Mutual labels:  laravel, laravel-framework


A Laravel API starter kit collection using different structures.

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

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

  • 2FA
  • ACL
  • Anti Phishing Code on email
  • Audit
  • CORS
  • Device authorization
  • Etag
  • Horizon
  • Laravel 7.x, 6.x, 5.8
  • Login
  • Login history
  • Multiple localizations, preconfigured with en_US and pt_BR
  • Password reset
  • Password must not be in one of the 4 million weak passwords
  • PHPCS PSR2, phpinsights and sonarqube analysis
  • Register
  • Swoole
  • Tests
  • Transactional events: Listen to events and send notifications only if the transaction is commited
  • uuid

Soon:

  • Background job example

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

  • Set the .env variables, see .env.example that is already configured to point to pgsql and redis services
  • Run the container with docker-compose -f docker-compose.develop.yml up. Alternatively, if you have an older laptop, try running remotely with Blimp.
  • Enter into app container with docker exec -it default-structure-app bash
  • Run the migrations with php artisan migrate:fresh

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:

  • Get into app container with docker exec -it default-structure-app-testing bash (off course, default-structure-app is for the default-structure)
  • Run tests with composer test
  • Run "lint" (phpcs) with composer lint
  • Run "lint and fix" (phpcbf) with composer lint:fix
  • Run phpcpd with composer phpcpd
  • Run php static analysis (level 5) with composer static:analysis
  • Run nunomaduro/phpinsights with php artisan insights

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].