webmasters / doctrine-skeleton
A sample application skeleton using Doctrine 2
Installs: 2 371
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
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.