2017 © Pedro Peláez
 

library profiler

A PHP 5.3 profiler based off of Laravel 3's Anbu.

image

loic-sharma/profiler

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  • Tuesday, August 5, 2014
  • by loic-sharma
  • Repository
  • 0 Watchers
  • 0 Stars
  • 79,902 Installations
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 1 % Grown

The README.md

Profiler

A PHP 5.3 profiler based off of Laravel 3's Anbu. NOTE: this project is no longer being maintained. Please use Barry's debug bar instead., (*1)

Installation

Installing profiler is simple. First, you'll need to add the package to the require attribute of your composer.json file., (*2)

{
    "require": {
        "loic-sharma/profiler": "1.1.*"
    },
}

Installing Using Laravel 4

To enable te profiler in Laravel 4 you will need to register the Service Provider and the Facade., (*3)

  1. Add 'Profiler\ProfilerServiceProvider', to the list of service providers in app/config/app.php
  2. Add 'Profiler' => 'Profiler\Facades\Profiler', to the list of class aliases in app/config/app.php
  3. In console run php artisan config:publish loic-sharma/profiler

And voila! You can use the profiler., (*4)

Profiler::startTimer('testLogging');

// The profiler listens to Laravel's logger.
Log::info('Hello World!');
Log::notice('Some event occured.');

Profiler::endTimer('testLogging');

Installing For Your Own Project

Add the following to your code:, (*5)

$logger = new Profiler\Logger\Logger;
$profiler = new Profiler\Profiler($logger);

You can now use the profiler to your heart's content., (*6)


$profiler->startTimer('testLogging'); $logger->debug($object); $logger->info('Hello World!'); $logger->notice('Some event occurred.'); $logger->warning('Careful: some warning.'); $logger->error('Runtime error.'); $logger->critical('This needs to be fixed now!'); $logger->emergency('The website is down right now.'); $profiler->endTimer('testLogging'); echo $profiler;

Profiler was written by Loic Sharma. Profiler is released under the 2-clause BSD License. See the LICENSE file for details., (*7)

Copyright 2012 Loic Sharma, (*8)

The Versions

05/08 2014

dev-master

9999999-dev

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

27/10 2013

dev-develop

dev-develop

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

17/06 2013

v1.1.2

1.1.2.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

07/06 2013

v1.1.1

1.1.1.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

15/05 2013

v1.1.0

1.1.0.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

18/04 2013

v1.0.9

1.0.9.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

14/03 2013

v1.0.8

1.0.8.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

14/03 2013

v1.0.7

1.0.7.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

08/03 2013

v1.0.6

1.0.6.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

11/02 2013

v1.0.5

1.0.5.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

04/02 2013

v1.0.4

1.0.4.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

27/01 2013

v1.0.3

1.0.3.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

26/01 2013

v1.0.1

1.0.1.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

26/01 2013

v1.0.2

1.0.2.0

A PHP 5.3 profiler based off of Laravel 3's Anbu.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

laravel profiler anbu

19/01 2013

v1.0.0

1.0.0.0

A simple profiler based on PHP Quick Profiler.

  Sources   Download

MIT

The Requires

 

by Loic Sharma

profiler