PHP code example of zupitar-doplac / domain-driven-development

1. Go to this page and download the library: Download zupitar-doplac/domain-driven-development library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zupitar-doplac / domain-driven-development example snippets



 declare(strict_types=1);

return [
    'locations' => ['/domains'],

    'status' => [
        'doplac.cms' => true,
    ],
];




 declare(strict_types=1);

return [
    'id' => 'doplac.cms',
    'autoload' => [
        'CMS\\' => 'app/',
        "CMS\\Factories\\" => "database/factories/",
        "CMS\\Seeders\\" => "database/seeders/",
    ],
    'providers' => [
        \CMS\Providers\RouteServiceProvider::class
    ],
    'schedules' => [
        'app/Console/Schedule.php',
    ],
    "config" => [
        'cms.services' => 'services.php'
    ],
    'commands' => 'app/Console/Commands',
];