Skip to content

Domains

Project structure

For an overview of the project structure see Project Structure

Create a new Domain

Create a new domain adhering to the project structure using artisan

bash
php artisan make:domain DomainName

Additional generation

The command will ask you if you want to create a Model for it. The Model will be placed inside the created domain Models folder

Create Domain