xefi/laravel-osdd

Package to handle OSDD in a Laravel application.
8,385 10
Install
composer require xefi/laravel-osdd
Latest Version:v2.0.1
PHP:^8.3
License:MIT
Last Updated:Aug 11, 2026
Links: GitHub  ·  Packagist
Maintainer: GautierDele

Laravel OSDD

Latest Version on Packagist Tests License

Laravel OSDD Landscape

A Laravel package that restructures your application into independently composable layers — each one a self-contained Composer package with its own models, migrations, seeders, tests, and service provider.

Full documentation at laravel-osdd.xefi.com.


The Problem

Standard Laravel applications accumulate unrelated code in shared directories. As the application grows, app/ mixes users, orders, products, and infrastructure with no clear domain boundaries. Refactoring becomes costly and testing becomes slow.

The Solution

OSDD isolates each domain concern into its own Composer package:

functional/
  users/       ← Independent layer (composer.json, src/, database/, tests/)
  billing/
technical/
  osdd/        ← OSDD configuration layer

Requirements

  • PHP ^8.3
  • Laravel ^12.0 or ^13.0

Installation

composer require xefi/laravel-osdd
php artisan osdd:start

Commands

Command Description
osdd:start Scaffold a fresh project with full OSDD architecture
osdd:layer Create a new layer interactively or with arguments
osdd:seed Run seeders registered across all layers
osdd:phpunit Sync phpunit.xml with each layer's test suite

All standard make:* commands are available as osdd:* variants, placing generated files inside the target layer. See the full command reference.


Support us

Since 1997, XEFI is a leader in IT performance support for small and medium-sized businesses through its nearly 200 local agencies based in France, Belgium, Switzerland and Spain. A one-stop shop for IT, office automation, software, digitalization, print and cloud needs. Want to work with us ?


License

MIT — see LICENSE.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
v2.0.1 ^8.3 ^12 || ^13 MIT
v2.0.0 ^8.3 ^12 || ^13 MIT
v1.2.1 ^8.3 ^12 || ^13 MIT
v1.2.0 ^8.3 ^12 || ^13 MIT
v1.1.0 ^8.3 ^12 || ^13 MIT