jtreminio / aura-sql-service-provider
A config ServiceProvider for Aura.Sql
dev-master
2013-07-23 03:15 UTC
Requires
- aura/sql: ~1.1
- silex/silex: ~1.0
This package is not auto-updated.
Last update: 2025-02-24 17:37:35 UTC
README
If you want to use Aura.Sql with Silex, use this provider.
It was made to be a drop-in replacement for Doctrine DBAL so simply follow the instructions there to get it working:
$app->register(new jtreminio\Silex\AuraSqlServiceProvider, array(
'db.options' => array (
'driver' => 'pdo_mysql',
'host' => 'localhost',
'dbname' => 'my_database',
'user' => 'my_username',
'password' => 'my_password',
'charset' => 'utf8',
),
));
Have fun!