Download the PHP package mghrby/modular-ddd without Composer

On this page you can find all versions of the php package mghrby/modular-ddd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package modular-ddd

Laravel Modular DDD

Latest Version on Packagist Total Downloads License PHP Version

A production-ready Laravel package for building modular applications using Domain-Driven Design (DDD) with Event Sourcing and CQRS patterns. This package provides a complete, battle-tested infrastructure for implementing DDD in Laravel applications with enterprise-grade features and 100% code generation reliability.

Features

🏗️ Domain-Driven Design Architecture

📦 Event Sourcing

🚀 CQRS (Command Query Responsibility Segregation)

🔄 Module Communication

🛠️ Code Generation ✨ 100% Reliable

📊 Production Features

Requirements

Installation

You can install the package via Composer:

After installation, publish the configuration and migrations:

Quick Start

1. Create a New Module

Generate a complete DDD module structure with guaranteed syntax validity:

This creates a complete DDD architecture with 36+ files:

2. Generate Additional Components

All generators support dry-run mode and produce 100% syntax-valid code:

3. Module Management

Manage module state with persistent configuration:

4. Define Commands and Handlers

5. Dispatch Commands

Available Commands

Module Generation Commands

Create Module

Generate a complete DDD module with all architectural layers:

Create Command

Generate CQRS commands and handlers:

Create Query

Generate CQRS queries and handlers:

Create Aggregate

Generate domain aggregates with event sourcing:

Create Repository

Generate repository interfaces and implementations:

Create Migration

Generate event-sourcing compatible migrations:

Create Factory

Generate test factories for modules:

Module Management Commands

Module Information

Get detailed information about modules:

List Modules

Display all available modules:

Health Check

Check module health and status:

Enable/Disable Modules

Manage module state (persists across restarts):

Migration Commands

Module Migrate

Run migrations for specific modules:

Migration Status

Check migration status for modules:

Migration Rollback

Rollback module migrations:

Testing Commands

Module Test

Run tests for specific modules:

Test Factory

Generate and run factory tests:

Documentation Commands

Generate Documentation

Create comprehensive module documentation:

Performance Commands

Benchmark

Run performance benchmarks:

Stress Test

Run stress tests on modules:

Advanced Usage

Event Sourcing with Snapshots

CQRS with Multi-tier Caching

Module Communication

Configuration

The package can be configured via config/modular-ddd.php:

Version 1.2.0 Highlights ✨

🎯 100% Code Generation Reliability

🚀 Enhanced Developer Experience

🔧 Stability Improvements

📊 Quality Metrics

Testing

The package includes comprehensive testing utilities:

Testing Your Modules

Performance Optimization

Choose the Right Performance Profile

Optimize Event Store Queries

Monitor Performance

Documentation

Comprehensive documentation is available in the /docs directory:

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to contribute to this project.

Development

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Support


Made with ❤️ by The Address Tech Team


All versions of modular-ddd with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/events Version ^11.0|^12.0
illuminate/cache Version ^11.0|^12.0
ramsey/uuid Version ^4.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mghrby/modular-ddd contains the following files

Loading the files please wait ...