webmasters/doctrine-skeleton

A sample application skeleton using Doctrine 2

Installs: 2 377

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/webmasters/doctrine-skeleton

4.0.0 2019-09-08 12:15 UTC

This package is auto-updated.

Last update: 2025-10-09 01:56:00 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.