PHP code example of ovimughal / lamirator
1. Go to this page and download the library: Download ovimughal/lamirator 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/ */
ovimughal / lamirator example snippets
'doctrine' => [
'driver' => [
__NAMESPACE__ . '_driver' => [
'class' => \Doctrine\ORM\Mapping\Driver\AnnotationDriver::class,
'cache' => 'array',
'paths' => [__DIR__ . '/../src/Entity']
],
'orm_default' => [
'drivers' => [
__NAMESPACE__ . '\Entity' => __NAMESPACE__ . '_driver'
],
],
],
],
bash
php lamirator.php create:module -m <Your-Module-Name>