indigophp/fuelphp-dbal
Composer 安装命令:
composer require indigophp/fuelphp-dbal
包简介
FuelPHP DBAL integration
README 文档
README
This package is a wrapper around doctrine/dbal package.
Install
Via Composer
$ composer require indigophp/fuelphp-dbal
Usage
Simply install this package to be able to use DBAL inside FuelPHP.
Configuration
'dbname' => 'database' 'host' => 'localhost' 'port' => 1234 'user' => 'user', 'password' => 'secret', 'driver' => 'pdo_mysql', 'driver_class' => 'MyNamespace\\MyDriverImpl', // the DBAL driverClass option 'options' => array( // the DBAL driverOptions option 'foo' => 'bar', ), 'path' => '', 'wrapper_class' => 'MyDoctrineDbalConnectionWrapper', // the DBAL wrapperClass option 'charset' => 'UTF8', 'profiling' => true, 'mapping_types' => array( 'enum' => 'string', ), 'types' => array( 'custom' => 'MyCustomType', ),
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-23