Download the PHP package shiki/yii-firephp without Composer

On this page you can find all versions of the php package shiki/yii-firephp. 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 yii-firephp

FirePHP extension for Yii Framework

This extension contains 2 log route classes. The first, SK\Yii\FirePHP\LogRoute, processes standard Yii log messages. The second, SK\Yii\FirePHP\ProfileLogRoute, processes profile summaries. Both classes send all output to FirePHP. The classes work similarly to CWebLogRoute and CProfileLogRoute. The only major difference is the target output.

An advantage of using this extension is that logging and profiling work even through AJAX requests.

Requirements

Installation

The only supported installation method for now is using Composer.

  1. Put this in your composer.json and run composer update to install it:

    This will also automatically install the dependency firephp/firephp-core.

  2. Make sure you have loaded the Composer autoload file (vendor/autoload.php) so the libraries can be accessed in your Yii config file. See the main.php config file in the example project on how this can be done.

  3. Modify your config file (e.g. protected/config/main.php) to include the log route classes.

Standard logging

Once you've got the extension setup in the config, you can use Yii's logging methods to log messages to FirePHP.

See more about logging here.

Profiling

Profiling works by simply using Yii's profiling methods.

You can also profile SQL executions. See more about that and profiling in general here.

Example

To try all these out, there's an example project in the example folder. To run it:

  1. Install the required libraries using Composer.

    $ cd example
    $ composer install
  2. Run with the PHP built-in webserver

    $ cd example/webroot
    $ php -S localhost:8000
  3. Browse http://localhost:8000 in Firefox. Make sure first that Firebug is opened and the Console and Net tabs are enabled. You should be able to see the FirePHP logs in Firebug's console. If you don't, try refreshing first.

All versions of yii-firephp with dependencies

PHP Build Version
Package Version
Requires firephp/firephp-core Version >=0.4.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 shiki/yii-firephp contains the following files

Loading the files please wait ....