Download the PHP package ipc/silex-pdo-service-provider without Composer
On this page you can find all versions of the php package ipc/silex-pdo-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ipc/silex-pdo-service-provider
More information about ipc/silex-pdo-service-provider
Files in ipc/silex-pdo-service-provider
Download ipc/silex-pdo-service-provider
More information about ipc/silex-pdo-service-provider
Files in ipc/silex-pdo-service-provider
Vendor ipc
Package silex-pdo-service-provider
Short Description A silex service provider which provides a pdo connection
License MIT
Homepage https://github.com/tburschka/silex-pdo-service-provider
Package silex-pdo-service-provider
Short Description A silex service provider which provides a pdo connection
License MIT
Homepage https://github.com/tburschka/silex-pdo-service-provider
Please rate this library. Is it a good library?
Informations about the package silex-pdo-service-provider
PDOServiceProvider
Usage
Define the configuration:
<?php
$config = [
// ...
'pdo.options' => [
'dsn' => 'mysql:host=localhost;dbname=sample;charset=UTF8',
'username' => 'user',
'password' => 'pass',
'options' => [],
'attributes' => [],
],
// ...
and register the service:
<?php
$app->register(new IPC\Silex\Provider\PDOServiceProvider(), ['pdo.options' => $config['pdo.options']]);
All versions of silex-pdo-service-provider with dependencies
PHP Build Version
Package Version
The package ipc/silex-pdo-service-provider contains the following files
Loading the files please wait ....