mickaelandrieu/doctrineorm-skill
Composer 安装命令:
composer require mickaelandrieu/doctrineorm-skill
包简介
README 文档
README
Installation
you need to install it using composer and then be sure that this configuration is available when Jarvis Application is started:
<?php /* config.php */ $config = [ 'doctrine' => [ 'db' => [ 'dbname' => 'backbee', 'user' => 'root', 'password' => 'A1nges6!', 'host' => 'localhost', 'driver' => 'pdo_mysql', ], 'orm' => [ 'debug' => false, 'entity_path' => __DIR__.'/src/Entity' ] ] ];
For instance, you can create a config.php file at the root of your project and then
require or include it in your front controller.
<?php require_once('./vendor/autoload.php'); require_once('./config.php'); use Jarvis\Jarvis; /* ... */ $response = $jarvis->analyze(); $response->send();
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-09-15