pomm-project/pomm-profiler-service-provider

Name: pomm-profiler-service-provider

Owner: pomm project

Description: Silex Profiler service provider for Pomm 2

Created: 2014-12-08 20:06:38.0

Updated: 2017-08-28 04:54:32.0

Pushed: 2016-11-26 09:20:48.0

Homepage: null

Size: 116

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Pomm2 Profiler for Silex micro-framework

Pomm profiler in Silex 1.x

Install

Add the following requirements in the project's composer.json file:

"silex/web-profiler": "~1.0",
"pomm-project/pomm-profiler-service-provider": "dev-silex-1"
Setup
p // bootstrap.php

$app->register(new Silex\Provider\ServiceControllerServiceProvider());
$app->register(new Provider\WebProfilerServiceProvider(), array(
    'profiler.cache_dir' => PROJECT_DIR.'/cache/profiler',
    'profiler.mount_prefix' => '/_profiler', // this is the default
));
$app->register(new PommProject\Silex\ProfilerServiceProvider\PommProfilerServiceProvider());

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.