webmasters / doctrine-skeleton
A sample application skeleton using Doctrine 2
Package info
github.com/LeisureLarry/doctrine-skeleton
Type:project
pkg:composer/webmasters/doctrine-skeleton
4.0.0
2019-09-08 12:15 UTC
Requires
- php: >=7.3
- doctrine/orm: 2.6.3
README
Webmasters Doctrine Skeleton
A sample application skeleton using Doctrine 2
config/default-config.php
<?php // MySQL database configuration $connectionOptions = [ 'driver' => 'pdo_mysql', 'host' => 'localhost', 'user' => 'root', 'password' => '', 'dbname' => '', ]; // Application/Doctrine configuration $applicationOptions = [ 'debug_mode' => true, // in production environment false 'entity_dir' => dirname(__DIR__) . '/src/Entities', ];
Change user, password and dbname to your needs.