webmasters/doctrine-skeleton

A sample application skeleton using Doctrine 2

4.0.0 2019-09-08 12:15 UTC

This package is auto-updated.

Last update: 2024-10-08 23:57:42 UTC


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.