webmasters / doctrine-skeleton
使用Doctrine 2的示例应用程序骨架
4.0.0
2019-09-08 12:15 UTC
Requires
- php: >=7.3
- doctrine/orm: 2.6.3
README
Webmasters Doctrine Skeleton
使用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', ];
根据需要更改用户、密码和dbname。