timosh / php-activerecord-service-provider
phpactiverecord.org for silex2
v1.1
2017-07-24 10:43 UTC
Requires
- php-activerecord/php-activerecord: dev-master
- silex/silex: ~2.0
This package is not auto-updated.
Last update: 2025-01-08 20:23:24 UTC
README
#ActiveRecord PHP ActiveRecord for Silex version 2.
#Using
$app->register(new \ActiveRecordServiceProvider\ActiveRecord(array(
'ar.model_path' => __DIR__.'/Model',
'ar.default_connection' => 'development',
'ar.connections' => array(
'development' => 'mysql://login:password@hostname/database'
),
))
);