2017 © Pedro Peláez
 

library php-activerecord-profiler-service

image

timosh/php-activerecord-profiler-service

  • Thursday, April 5, 2018
  • by timtimosh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP Silex2 ActiveRecordProfilerService

PHP ActiveRecordProfilerService for Silex2. Actualy for using it you must install php activerecord service provider https://packagist.org/packages/timosh/php-activerecord-service-provider (it implements phpactiverecord.org to you profject) awcose for using profiler you have to install silex profiler and twig., (*1)

Using

$app->register(new \ActiveRecordServiceProvider\ActiveRecord(array(
        'ar.model_path'   => __DIR__.'/Model',
        'ar.default_connection' => 'development',
        'ar.connections' => array(
            'development' => 'mysql://user:password@host/database'
        ),
        'db.active_record.logger'=> new ActiveRecordServiceProvider\Logger(), //here we enabling our logger
    ))
);

The Versions

05/04 2018

v1.0

1.0.0.0

  Sources   Download

25/08 2016

dev-master

9999999-dev

install this to show sql queries in silex profiler

  Sources   Download

MIT

The Requires

 

by timosh

silex2 php-activerecord silex2 profiler php-activerecord profiler

25/08 2016

v1.1

1.1.0.0

install this to show sql queries in silex profiler

  Sources   Download

MIT

The Requires

 

by timosh

silex2 php-activerecord silex2 profiler php-activerecord profiler