Download the PHP package mghrby/laravel-modular-ddd without Composer

On this page you can find all versions of the php package mghrby/laravel-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 laravel-modular-ddd

Laravel Modular DDD - Complete Developer Guide

Latest Version License PHP Version

A comprehensive Laravel package for implementing modular Domain-Driven Design architecture with advanced tooling, performance monitoring, CQRS implementation, and enterprise-grade features.

๐ŸŒŸ Features Overview

Core Architecture

Advanced Development Tools

Performance & Monitoring

Security & Authorization

๐Ÿ“ฆ Installation

Requirements

Install via Composer

Publish Configuration

Database Setup

๐Ÿš€ Quick Start Guide

1. Create Your First Module

2. Module Structure Created

3. Check Module Health

๐Ÿ“‹ Complete Command Reference

๐Ÿ—๏ธ Module Management Commands

Core Module Operations

๐Ÿ› ๏ธ Code Generation Commands

CQRS Components

Complete API Scaffolding

Domain Components

Testing Components

Authorization Components

Database Components

Validation Components

๐Ÿ”„ API Versioning Commands

Version Management

API Version Generation

Version Discovery & Testing

๐Ÿ“š API Documentation & Swagger Commands

The package provides comprehensive Swagger/OpenAPI 3.0.3 documentation with dedicated management commands for scanning, generating, and validating API documentation across all modules.

๐Ÿ” Swagger Management Commands

Scan Modules for Swagger Annotations:

Generate Comprehensive Documentation Files:

Validate Documentation Quality:

๐Ÿš€ Enhanced API Generation with Comprehensive Swagger

When you generate APIs using the module:make-api command, the package now creates comprehensive Swagger documentation by default:

๐Ÿ“Š Generated Documentation Features

Comprehensive OpenAPI 3.0.3 Annotations:

Example Generated Controller:

๐ŸŽฏ Accessing Generated Documentation

Local Documentation Server:

File-based Documentation:

โš™๏ธ Swagger Configuration

Configure comprehensive documentation in config/modular-ddd.php:

๐Ÿ” Authentication Integration

Automatic Authentication Detection:

OAuth2 Configuration Example:

๐Ÿ“‹ Validation and Quality Assurance

Documentation Quality Checks:

Quality Metrics:

๐ŸŽจ Advanced Features

HATEOAS Support:

Multi-Version Support:

Custom Schema Definitions:

๐Ÿ”ง Troubleshooting

Documentation Not Generating:

Missing Authentication:

Quality Issues:

๐Ÿ“Š Performance Analysis Commands

Comprehensive Performance Analysis

๐Ÿ” Authorization Management Commands

Permission Management

๐Ÿ—„๏ธ Automatic Migration Generation

The package automatically generates database migrations when creating modules, following smart naming conventions and providing a solid foundation that you can customize.

Default Behavior (Automatic Migration)

Opt-out (No Migration)

Generated Migration Structure

Manual Migration Creation

๐Ÿ—„๏ธ Database Operations

๐Ÿฅ Health & Security Commands

Health Monitoring

Security Analysis

๐Ÿ”ง Development Tools

Cache Management

Development Utilities

๐Ÿ’ป Usage Examples

Basic Module Creation Workflow

CQRS Usage in Code

API Versioning Usage

Authorization Usage

Performance Monitoring

โš™๏ธ Configuration

Main Configuration (config/modular-ddd.php)

Module Permissions Configuration

Create modules/YourModule/Config/permissions.php:

๐Ÿ—ƒ๏ธ Database Schema

Required Tables for Authorization

๐Ÿ—๏ธ Architecture Principles

Domain-Driven Design (DDD)

CQRS (Command Query Responsibility Segregation)

Event Sourcing

Module Independence

๐Ÿ“š Advanced Features Documentation

CQRS Implementation

API Scaffolding & Versioning

Performance Monitoring

Authorization System

๐Ÿ›ก๏ธ Security Best Practices

Permission Management

Input Validation

Authorization Checks

๐Ÿ“ˆ Performance Optimization

Query Optimization

Cache Strategy

Resource Management

๐Ÿ› Troubleshooting

Common Issues

Module Not Loading

Permission Issues

Performance Issues

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Setup

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license.

๐Ÿ†˜ Support

๐Ÿ™ Acknowledgments


Built with โค๏ธ for the Laravel community


All versions of laravel-modular-ddd with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/validation Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/events Version ^10.0|^11.0|^12.0
illuminate/cache Version ^10.0|^11.0|^12.0
illuminate/queue Version ^10.0|^11.0|^12.0
symfony/console Version ^7.0
symfony/process Version ^7.0
symfony/finder Version ^7.0
ramsey/uuid Version ^4.7
league/flysystem Version ^3.0
nesbot/carbon Version ^3.0
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/laravel-modular-ddd contains the following files

Loading the files please wait ...