Download the PHP package annotatecms/debugger without Composer

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

AnnotateCms Debugger

Total Downloads Total Downloads

AnnotateCms debugger is integration of Tracy into Laravel Framework. It replaces the Whoops.

Installation

Via rtablada/package-installer

Since version 2.0.6 you can use rtablada/package-installer:

artisan package:install annotatecms/debugger

Via composer

Install via composer into Laravel Framework's project. Add this into your composer.json file:

"annotatecms/debugger" : "2.*"

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

'Annotatecms\Debugger\DebuggerServiceProvider',

You can add alias to Debugger service to app/config/app.php: 'Debugger' => 'Annotatecms\Debugger\Facades\Debugger'

Publish configuration via Artisan command:

php artisan config:publish annotatecms/debugger

Configuration

Configuration file is now in app/config/packages/annotatecms/debugger/debugger.php file.

Provided panels

With this panels you can use only panel name in panels list. For example:

"panels" => array(
    "routing"
)

List of panels:

Creating panel

Since version 2.1 Debugger is registered as service. You can easily add new panel via addPanel method:

\Debugger::addPanel(function(){
    return new MyAwesomePanel();
})

addPanel method accepts factory function as parameter. Thanks to this method you do not have to add panels into config file. You can add panels from your package (typically in service provider class).

Panel class must extend AbstractPanel class. You have to implement only one method which returns path to templates for panel:

function getTemplatesPath() {
    return __DIR__ . "/templates";
}

Panel templates

Panel templates are plain php files. File tab.php renders panel's tab. Typically some icon and name of panel. File panel.php renders panel's content. You can use css classes provided by tracy package. For example see routing/tab.php

Screenhosts

Bar panel Caught exception Routing panel Database panel


All versions of debugger with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version ~4.0
tracy/tracy Version 2.2.2
jdorn/sql-formatter Version @dev
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 annotatecms/debugger contains the following files

Loading the files please wait ....