Diamond Console is an Artisan command package to handle your Domain Driven Design project that is suitable with Laravel base structures, made for comer of Domain Driven Design and advanced. Install Diamond Console with composer composer require koalafacade/diamond-console then after Diamond Console is installed run the command below to set up your project. The command below will generate a namespace in composer and base directory structures.

Command for generate a Data Transfer Object with plain PHP to your domain directory.

Command for generate a Factory class, this command would generate two files : Factory concrete at Infrastructure/{DomainName}/Database/Factories
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners