xefi/laravel-osdd
| Install | |
|---|---|
composer require xefi/laravel-osdd |
|
| Latest Version: | v2.0.1 |
| PHP: | ^8.3 |
| License: | MIT |
| Last Updated: | Aug 11, 2026 |
| Links: | GitHub · Packagist |
Laravel OSDD

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.0or^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
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.1 | ^8.3 | ^12 | | MIT | |
| v2.0.0 | ^8.3 | ^12 | | MIT | |
| v1.2.1 | ^8.3 | ^12 | | MIT | |
| v1.2.0 | ^8.3 | ^12 | | MIT | |
| v1.1.0 | ^8.3 | ^12 | | MIT | |
| v1.0.1 | ^8.3 | ^12 | | MIT | |
| v1.0.0 | ^8.3 | ^12 | | MIT |