Download the PHP package daylerees/anbu without Composer

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

Codeship Status for daylerees/anbu

Github Release Packagist License Packagist Downloads Github Issues Tips

Anbu Profiler for Laravel PHP

Anbu Profiler

Installation

You'll need to add the package to the require section of your Laravel app composer.json file:

"daylerees/anbu": "~1.0@alpha"

First ensure that you have a database, and that it is configured with Laravel.

Next add the following service provider to app/config/app.php:

'Anbu\ProfilerServiceProvider',

Next use the asset:publish command for Artisan to publish profiler asset files.

php artisan asset:publish

Finally, execute a page of your application and click on the Laravel icon in the lower left.

Timers

If you want to use Anbu timers, you'll need to include the Facade in the app/config/app.php file:

'Anbu' => 'Anbu\Facades\Anbu',

Now you can create timers like this:

Anbu::timers()->start('test');
sleep(30); // Do something interesting here.
Anbu::timers()->end('test', 'Completed doing something.');

Debug

When you use dd() you risk exposing information to the users of your application. Instead, use ad() to dump this data into the 'Debug' section of Anbu.

ad('foo');

Hide & Disable

First let me explain the two concepts.

To hide is to eliminate the Laravel icon button from requests, so that it won't interfere with certain content types.

To disable is to stop the profiler from storing the request, and displaying the button. Data for this request will be lost.

You can hide the profiler using:

Anbu::hide();

Or you can apply the anbu.hide filter as a before filter to any route or route group.

You can disable the profiler using:

Anbu::disable();

Or you can apply the anbu.disable filter as a before filter to any route or route group.

Problems?

If a new module is added, then you might get an error when rendering a previous request.

Here's some things you can try if you have any problems. First you can try updating Anbu with:

composer update

Secondly you can clear the previous requests with the following Artisan command.

php artisan anbu:clear

Let me know about other issues!


All versions of anbu with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ~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 daylerees/anbu contains the following files

Loading the files please wait ....