Download the PHP package link0/profiler without Composer

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

Link0\Profiler

Latest Stable Version Total Downloads License Scrutinizer Code Quality Code Coverage Build Status

Link0/Profiler as a layer over XHProf profiling, and persisting profiles for later analysis.

The code is quite new, so please report any bugs if you encounter them, even though unit-tests should cover 100% of the code.

All ideas are welcome, and contributors as well.

SensioLabsInsight

Requirements

Installation

To add Link0/Profiler as a local, per-project dependency to your project, simply require the dependency link0/profiler with composer.

composer require "link0/profiler" "~1.0"

There is also a Symfony2 bundle available, see Link0/ProfilerBundle. To install it, use the following composer package

composer require "link0/profiler-bundle" "~1.0"

To install XHProf on your machine

pecl install -f xhprof

or

apt-get install php5-xhprof

or

# If you have the josegonzalez/homebrew-php formulae tapped, install them with brew.
# Change your version accordingly
brew install php55-xhprof

Quick setup with XHGui

To get started with this profiler package and XHGui, setup XHGui to listen to your MongoDB instance.

From every project that you want to profile, and aggregate the results to the centralized server, setup the following config:

More in-depth

The library is all about the Profiler, you want to instantiate that and let it do it's magic

If you want to start profiling using a browser based tool like XHProf Helper, You can use this method

If you want to store the results, you can pass a PersistenceHandler object to the Profiler

This way, the results are stored in memory, may not be that convienient, but can be nice to play around with.

There is also an implementation to store profiles on the filesystem, using the Flysystem library.


All versions of profiler with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
rhumsaa/uuid Version ^2.7.3
predis/predis Version v1.0.0
league/flysystem Version ^1.0
zendframework/zend-db Version ~2.3
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 link0/profiler contains the following files

Loading the files please wait ....