Download the PHP package bkwld/reporter without Composer

On this page you can find all versions of the php package bkwld/reporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package reporter

Reporter

Reporter is a package for Laravel 5 (versions 3.x) and Laravel 4 (versions 2.x) that brings back functionality found in the profiler of Laravel 3. Instead of displaying output in the browser, it writes to the disk in a log file that you can watch in realtime with tail -f or an app like Mac's Console. This adds some advantages over a browser based profiler:

The output looks like:

Or, if you have style turned on:

image

Reporter also adds the ability to time blocks of code (as displayed in the examples "TIMERS" line).

Installation

  1. Add Reporter to composer.json: "bkwld/reporter": "~3.0", and do a composer install.
  2. Add 'Bkwld\Reporter\ServiceProvider', to your app/config/app.php's providers array.
  3. If you plan to use timers, add 'Timer' => 'Bkwld\Reporter\Facades\Timer', to the app/config/app.php's aliases array.

Config

Usage

Logging

Reporter writes it's log to app/storage/logs/reporter.log. I'd recommend running tail -f storage/logs/reporter.log from your project directory to follow it.

Timer

Laravel 3 had a way to time events with it's profiler. Reporter re-introduces this.

Timer::start('example');
// Some code that you are benchmarking
Timer::stop('example');

Start() and stop() take a string as their argument that is used to match up the start and stop calls. It is also displayed as the key for the timer in the log. The above example would add lines like this to the log:

TIMERS:
  example: 20.02ms

All versions of reporter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bkwld/reporter contains the following files

Loading the files please wait ....