PHP code example of gibass / domain-maker-bundle
1. Go to this page and download the library: Download gibass/domain-maker-bundle 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/ */
gibass / domain-maker-bundle example snippets
return [
// ...
Gibass\DomainMakerBundle\DomainMakerBundle::class => ['dev' => true, 'test' => true],
];
text
|-- src // source folder
| `-- Blog // A specific domain
| |-- Domain
| | |-- Gateway
| | | |-- PostGatewayInterface.php
| | |-- Model
| | | |-- Entity
| | | | |-- Post.php
| | |-- UseCase
| | | |-- CreatePost.php
| |-- Infrastructure
| | |-- Adapter
| | | |-- Repository
| | | |-- PostRepository.php
| |-- UserInterface
| | |-- Controller
| | | |-- PostController.php
| | |-- Presenter
| | | |-- Html
| | | | |-- PostPresenterHTML.php
| | | |-- Json
| | | | |-- PostPresenterJSON.php