PHP code example of awd-studio / es-lib-maker-bundle
1. Go to this page and download the library: Download awd-studio/es-lib-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/ */
awd-studio / es-lib-maker-bundle example snippets
return [
// ...
AwdEs\EsLibMakerBundle\EsLibMakerBundle::class => ['dev' => true],
];
bash
# Create an aggregate root
php bin/console make:es:entity "YourNamespace\YourAggregate" -
# Create a child entity
php bin/console make:es:entity "YourNamespace\YourAggregate\ChildEntity" "App\YourNamespace\Domain\YourAggregate"