https://github.com/mikoweb/laravel-rest-api
REST API Boilerplate for Laravel made in a modular monolith architecture with CQRS.
https://github.com/mikoweb/laravel-rest-api
laravel php rest-api
Last synced: 4 months ago
JSON representation
REST API Boilerplate for Laravel made in a modular monolith architecture with CQRS.
- Host: GitHub
- URL: https://github.com/mikoweb/laravel-rest-api
- Owner: mikoweb
- Created: 2024-09-03T19:55:27.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T07:21:05.000Z (almost 2 years ago)
- Last Synced: 2025-06-30T02:05:58.722Z (12 months ago)
- Topics: laravel, php, rest-api
- Language: PHP
- Homepage:
- Size: 1.05 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-rest-api
REST API Boilerplate for Laravel made in a modular monolith architecture with CQRS.
## Features
* PHP 8.3
* Laravel 11
* CommandBus, QueryBus, EventBus, SharedEventBus, SharedQueryBus
* CQRS and Event-driven programming
* Eloquent Models supporting binary UUID
* Automatic migration generation with Doctrine Migrations
* Debugbar for Laravel like Symfony Profiler
* DTO classes support
* Repository Pattern for Eloquent
* Autowire attribute from Autowire for Laravel package
* API documentation provided by Swagger
## Examples of use
* [CarDatasetReader](./app/Module/Car/Infrastructure/Reader/CarDataset/CarDatasetReader.php)
* [CarDatasetImporter](./app/Module/Car/Application/Import/CarDatasetImporter.php)
* [ImportCarsFromCsvHandler](./app/Module/Car/Application/Interaction/Command/ImportCarsFromCsv/Handler/ImportCarsFromCsvHandler.php)
* [AskForCarsPaginatedListHandler](./app/Module/Car/Application/Interaction/Query/AskForCarsPaginatedList/Handler/AskForCarsPaginatedListHandler.php)
* [CarFilter](./app/Module/Car/Application/Filter/Car/CarFilter.php)
* [CarController](./app/Module/Car/UI/Controller/CarController.php)
* [CreateSaleOfferHandler](./app/Module/Sale/Application/Interaction/Command/CreateSaleOffer/Handler/CreateSaleOfferHandler.php)
* [AskForSaleOfferPaginatedListHandler](./app/Module/Sale/Application/Interaction/Query/AskForSaleOfferPaginatedList/Handler/AskForSaleOfferPaginatedListHandler.php)
* [SaleOfferController.php](./app/Module/Sale/UI/Controller/SaleOfferController.php)
## Copyrights
Copyright © Rafał Mikołajun 2024.