indigophp/fuelphp-dbal

This package is abandoned and no longer maintained. No replacement package was suggested.

FuelPHP DBAL integration

dev-develop 2015-03-16 04:25 UTC

This package is auto-updated.

Last update: 2021-11-24 09:12:17 UTC


README

Latest Version Software License Total Downloads

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.