{"id":15027732,"url":"https://github.com/influxow/laravel_ddd_ecommerce","last_synced_at":"2025-04-09T20:24:23.392Z","repository":{"id":37097649,"uuid":"424880618","full_name":"InfluxOW/laravel_ddd_ecommerce","owner":"InfluxOW","description":"Laravel DDD e-Commerce","archived":false,"fork":false,"pushed_at":"2023-07-23T14:50:22.000Z","size":6656,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T22:24:02.038Z","etag":null,"topics":["laravel","php","php81"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InfluxOW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-05T08:42:55.000Z","updated_at":"2024-10-04T10:39:35.000Z","dependencies_parsed_at":"2024-10-12T13:00:36.539Z","dependency_job_id":"052c2be3-4be1-4e41-98e9-5713ac2d594b","html_url":"https://github.com/InfluxOW/laravel_ddd_ecommerce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfluxOW%2Flaravel_ddd_ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfluxOW%2Flaravel_ddd_ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfluxOW%2Flaravel_ddd_ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfluxOW%2Flaravel_ddd_ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfluxOW","download_url":"https://codeload.github.com/InfluxOW/laravel_ddd_ecommerce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248105343,"owners_count":21048504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","php","php81"],"created_at":"2024-09-24T20:06:57.470Z","updated_at":"2025-04-09T20:24:23.373Z","avatar_url":"https://github.com/InfluxOW.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WIP: [Laravel DDD e-Commerce](http://laravel-ddd-ecommerce.herokuapp.com)\n\n\u003cdiv align=\"center\"\u003e\n    \u003cp\u003e\n        \u003ca href=\"https://github.com/InfluxOW/laravel_ddd_ecommerce/actions/workflows/master.yml\"\u003e\u003cimg src=\"https://github.com/InfluxOW/laravel_ddd_ecommerce/actions/workflows/master.yml/badge.svg\" alt=\"PHP CI\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://codeclimate.com/github/InfluxOW/laravel_ddd_ecommerce/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/785ee07bd777cf41ee07/maintainability\" alt=\"Maintainability\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://codecov.io/gh/InfluxOW/laravel_ddd_ecommerce\"\u003e\u003cimg src=\"https://codecov.io/gh/InfluxOW/laravel_ddd_ecommerce/branch/master/graph/badge.svg?token=MS9MMW2OBX\" alt=\"Code Coverage\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://dashboard.stryker-mutator.io/reports/github.com/InfluxOW/laravel_ddd_ecommerce/master\"\u003e\u003cimg src=\"https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FInfluxOW%2Flaravel_ddd_ecommerce%2Fmaster\" alt=\"Mutation Testing\"\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003ca href=\"https://laravel.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Laravel-10.x-FF2D20?style=for-the-badge\u0026logo=laravel\" alt=\"Laravel v10.x\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://laravel-livewire.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Livewire-2.x-FB70A9?style=for-the-badge\" alt=\"Livewire v2.x\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://php.net\"\u003e\u003cimg src=\"https://img.shields.io/badge/PHP-8.2-777BB4?style=for-the-badge\u0026logo=php\" alt=\"PHP 8.2\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://docker.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Docker-20.10.x-0db7ed?style=for-the-badge\u0026logo=docker\" alt=\"Docker 20.10.x\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://postgresql.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Postgresql-15.X-0064a5?style=for-the-badge\u0026logo=postgresql\" alt=\"PostgreSQL 15.X\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://swagger.io\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swagger-3.0-a9f06b?style=for-the-badge\u0026logo=swagger\" alt=\"Swagger 3.0\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://redis.io/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Redis-7.x-D82C20?style=for-the-badge\u0026logo=redis\" alt=\"Redis 7.x\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://rabbitmq.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/RabbitMQ-3.11.x-FF6600?style=for-the-badge\u0026logo=rabbitmq\" alt=\"RabbitMQ 3.11.x\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://elastic.co/\"\u003e\u003cimg src=\"https://img.shields.io/badge/ELK-8.6.x-7DE2D1?style=for-the-badge\u0026logo=elastic\" alt=\"ELK 8.6.x\"\u003e\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n## About\n\nI was looking for such kind of project but found nothing, so I decided to create my own. Maybe there's not a huge\ndifference between generic Laravel e-Commerce and DDD e-Commerce, but anyway it's interesting to use another\narchitecture and look how you can modify base project structure.\n\nI was inspired by these ([1](https://lorisleiva.com/conciliating-laravel-and-ddd/)\n, [2](https://medium.com/@ibrunotome/a-domain-driven-design-ddd-approach-to-the-laravel-framework-18906b3dd473)\n, [3](https://youtu.be/0Rq-yHAwYjQ?list=PLc9FxgUP0PDRFpDM7YLqHTxlSi1Q8ALyB\u0026t=4066)) and a lot of other articles and\nvideos as well as my work projects. But basically every DDD article presents its own project structure so DDD is more an\nidea or a team agreement than exact project structure. And that's why I've implemented my own wierd DDD structure :)\n\n## Development Setup\n\n1. Fill `.env` variables.\n2. To setup project in Docker environment ([Laravel Sail](https://laravel.com/docs/10.x/sail)) use `make setup` command.\n\n## Features\n\n### Generic Features\n\n- [Laravel Octane](https://laravel.com/docs/10.x/octane) with Swoole as Server\n- [Laravel Horizon](https://laravel.com/docs/10.x/horizon) as Queue Dashboard\n- [Totem](https://github.com/codestudiohq/laravel-totem) as Schedule Dashboard\n- [Prequel](https://github.com/Protoqol/Prequel) as Database Dashboard\n- [Clockwork](https://underground.works/clockwork/) and [Laravel Telescope](https://laravel.com/docs/10.x/telescope) as Dev Toolkit\n- [Swagger Documentation](http://laravel-ddd-ecommerce.herokuapp.com/api/documentation)\n- Amazing [Admin Panel](http://laravel-ddd-ecommerce.herokuapp.com/admin) - [Filament](https://filamentadmin.com/)\n- RESTful API\n- Instant Parallel Tests\n- RabbitMQ Queues\n- Redis Cache\n- Elasticsearch Search\n- Sentry Logging\n- XDebug Support\n\n### Infrastructural Features\n\n- DDD structure\n- Separate [Development](https://github.com/InfluxOW/laravel_ddd_ecommerce/blob/master/docker-compose.yml), [Testing](https://github.com/InfluxOW/laravel_ddd_ecommerce/blob/master/docker-compose.test.yml) and [CI](https://github.com/InfluxOW/laravel_ddd_ecommerce/blob/master/docker-compose.ci.yml) Infrastructure\n- Git Hooks with Code Style ([PHPCS](https://github.com/squizlabs/PHP_CodeSniffer), [Laravel Pint](https://github.com/laravel/pint)) and Code Quality ([PHPStan](https://github.com/phpstan/phpstan)) analysis\n- Fast CI at GitHub Actions:\n    - caching dependencies and check's results\n    - building, caching and pushing Docker images to the Docker Hub\n    - building [code coverage report](https://about.codecov.io/)\n\n### Project Features\n\n- Authentication with [Laravel Sanctum](https://github.com/laravel/sanctum), Email Verification, Login History - [[**Users**](https://github.com/InfluxOW/laravel_ddd_ecommerce/tree/master/app/Domains/Users)]\n- Catalog with different filters, full-text search, categories tree, etc. - [[**Catalog**](https://github.com/InfluxOW/laravel_ddd_ecommerce/tree/master/app/Domains/Catalog)]\n- Ability to add feedback, but a limited number of times per hour per IP - [[**Feedback**](https://github.com/InfluxOW/laravel_ddd_ecommerce/tree/master/app/Domains/Feedback)]\n- **[WIP]** Carts with Redis - [[**Cart**](https://github.com/InfluxOW/laravel_ddd_ecommerce/tree/master/app/Domains/Cart)]\n- [[**News**](https://github.com/InfluxOW/laravel_ddd_ecommerce/tree/master/app/Domains/News)]\n\n### Random Features\n\n- Full usage of PHP 8.1 + PHP 8.2 features\n- Admin panel multilanguage support\n- AWS S3 disk for images, responsive images generation\n\nAnd a lot of other that isn't mentioned above, or will be added, or will be fixed in current code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxow%2Flaravel_ddd_ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxow%2Flaravel_ddd_ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxow%2Flaravel_ddd_ecommerce/lists"}