Getting Started

Installation

Install Laravel OSDD and pick your path, fresh project or existing application.

Requirements

  • PHP 8.3 or higher
  • Laravel 13.0 or higher
  • The dom PHP extension
Laravel 12 applications stay on Laravel OSDD 2.x. See the upgrade guide to move to 3.0.

Install the package

composer require lomkit/laravel-osdd

Laravel discovers the package's service provider, Lomkit\Osdd\OsddServiceProvider. There is nothing to register and nothing to publish.

Pick your path

Fresh project

osdd:start converts a new Laravel project to layers in one command.

Existing application

Keep app/ and move domains into layers one at a time with osdd:layer.

osdd:start deletes app/ and config/, and empties database/ except the SQLite database. It asks for confirmation first. Never run it on a project with code you want to keep.

Configure

The defaults work as they are: layers live in functional/ and technical/. To change a setting, see the configuration reference.

Teach your coding agent

The package ships a Laravel Boost skill. With Boost installed, your agent creates layers and generates code inside them instead of writing to app/.