Download the PHP package ecocode/magento_profiler without Composer

On this page you can find all versions of the php package ecocode/magento_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 magento_profiler

ecocode Profiler - Magento 1.x Web Profiler

Build Status Coverage Status Code Climate SensioLabsInsight

The ecocode profiler provides a development toolbar for Magento which displays a wide range of metrics and page load data for all the pages of the shop. It gives you direct access to the page's database queries, memory usage, events, requests, layout rendering, translation resolution and many other useful statistics. It is also easily extendable if you need to track additional metrics.

This profiler is based on the awesome Symfony WebProfiler. The concept and code of the WebProfiler have been ported to assist with Magento as much as possible.

Requirements

Tested with magento 1.7, 1.8. 1.9

Demo Stores:


More Images

Installation

Composer (recommended)

If you have not already configured magento-composer-installer add

to your composer.json. If your magento root dir is the same directory as the one containing your composer.json use "." as the magento-root-dir

composer require --dev ecocode/magento_profiler

Manually

Download the module and copy the app folder + "dev.php" into your magento root directory

If you install the module manually, it will miss some functionality until you install the dependencies. This is currently only possible via composer as we do need the composer autoloader.

To install the dependencies run the following from your magento root dir or a parent directory:

Magento Connect

ecocode Profiler

Webserver Config

It might be necessary to extend your webserver config to handle "dev.php" correctly. If your experiencing a 404 when you try to access "dev.php"

Nginx:

try adding the following to your nginx config before the php location definition:


Apache:

nothing to do here, should run out of the box

Usage

The profiler is only enabled if you open your shop via http://myshop.local/dev.php/. The idea is to develop always in dev mode alias "dev.php" and only switch back to "production" from time to time to verify the result.

Features

Collectors

Security

It is safe to add this module to your own vcs by default. The profiler is only active when you are visiting your page via "dev.php", which is restricted to request from localhost by default.

If you are using a vm you have to allow your host system to access the profiler. This can be done by modify the webserver config or the dev.php itself

Webserver: To allow the access to the profiler you have to set "$_SERVER['ALLOW_PROFILER'] = 1"

Nginx:

Apache:

Unlock special features

TODO

Mixed

If you get a gateway timeout 503 instead of an error message please try to adjust your nginx config

Need help?

Feel free to contact me [email protected]

Thanks to


All versions of magento_profiler with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
symfony/debug Version ^3.0|^4.0
symfony/yaml Version ^3.1|^4.0
jdorn/sql-formatter Version ^1.2
monolog/monolog Version ^1.0
symfony/stopwatch Version ^3.2|^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 ecocode/magento_profiler contains the following files

Loading the files please wait ....