Skip to content

pomm-project/pomm-profiler-service-provider

silex-1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

<?php // 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());

About

Silex Profiler service provider for Pomm 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages