xefi/laravel-osdd

Package to handle OSDD in a Laravel application.

Maintainers

Package info

github.com/xefi/laravel-osdd

pkg:composer/xefi/laravel-osdd

Statistics

Installs: 38

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 0

v1.1.0 2026-03-19 21:02 UTC

README

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.