All Projects → silexphp → Silex Webprofiler

silexphp / Silex Webprofiler

Licence: mit

Labels

Projects that are alternatives of or similar to Silex Webprofiler

PHP-Frameworks-Bench
Popular PHP Frameworks Benchmark.
Stars: ✭ 28 (-86.47%)
Mutual labels:  silex
Pinboard
Realtime PHP monitoring system which aggregates and displays Pinba data.
Stars: ✭ 479 (+131.4%)
Mutual labels:  silex
Silex
something to help you spark
Stars: ✭ 61 (-70.53%)
Mutual labels:  silex
hello-world-app-php-silex
Hello World sample app in PHP and Silex
Stars: ✭ 23 (-88.89%)
Mutual labels:  silex
Silex
[DEPRECATED -- Use Symfony instead] The PHP micro-framework based on the Symfony Components
Stars: ✭ 3,646 (+1661.35%)
Mutual labels:  silex
Silex Skeleton
A skeleton to get started with Silex
Stars: ✭ 805 (+288.89%)
Mutual labels:  silex
silex-ddd-skeleton
A simple skeleton of silex application using ddd arquitecture
Stars: ✭ 19 (-90.82%)
Mutual labels:  silex
Payumserver
Payment processing microservice. Written in Symfony4
Stars: ✭ 103 (-50.24%)
Mutual labels:  silex
Bolt
Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.
Stars: ✭ 4,136 (+1898.07%)
Mutual labels:  silex
Silex
Silex is a static website builder in the cloud.
Stars: ✭ 958 (+362.8%)
Mutual labels:  silex
ResponsibleServiceProvider
Silex service provider for seamless HTTP content negotiation
Stars: ✭ 35 (-83.09%)
Mutual labels:  silex
FacebookServiceProvider
Silex service provider that injects the Facebook SDK as a service
Stars: ✭ 28 (-86.47%)
Mutual labels:  silex
Cache Service Provider
A Cache Service Provider for Silex, using the doctrine/cache package
Stars: ✭ 23 (-88.89%)
Mutual labels:  silex
silex-starter-pack
A starter pack for beginning development with the Silex PHP framework. Includes a basic admin control panel, and user login system.
Stars: ✭ 12 (-94.2%)
Mutual labels:  silex
Superleansilexplate
Silex Superlean Starter
Stars: ✭ 61 (-70.53%)
Mutual labels:  silex
sm-groupcheck-web
GroupCheck web API.
Stars: ✭ 14 (-93.24%)
Mutual labels:  silex
Silex Kitchen Edition
This project is a sample or a bootstrap silex application
Stars: ✭ 645 (+211.59%)
Mutual labels:  silex
Php Getting Started
Getting Started with PHP on Heroku
Stars: ✭ 170 (-17.87%)
Mutual labels:  silex
Crudlex
CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages
Stars: ✭ 102 (-50.72%)
Mutual labels:  silex
Silexstarter
Starter app based on Silex framework with mvc and modular arch, scaffold generator, and admin panel
Stars: ✭ 11 (-94.69%)
Mutual labels:  silex

Silex Web Profiler

WARNING: Silex is in maintenance mode only. Ends of life is set to June 2018. Read more on Symfony's blog <http://symfony.com/blog/the-end-of-silex>_.

The Silex Web Profiler service provider allows you to use the wonderful Symfony web debug toolbar and the Symfony profiler in your Silex 2.x application.

.. note::

If you are using the 1.x Silex version, read the `specific documentation
<https://github.com/silexphp/Silex-WebProfiler/tree/1.0>`_.

To install this library, run the command below and you will get the latest version:

.. code-block:: bash

composer require 'silex/web-profiler:^2.0'

And enable it in your application:

.. code-block:: php

use Silex\Provider;

$app->register(new Provider\WebProfilerServiceProvider(), array(
    'profiler.cache_dir' => __DIR__.'/../cache/profiler',
    'profiler.mount_prefix' => '/_profiler', // this is the default
));

The provider depends on ServiceControllerServiceProvider, TwigServiceProvider, and HttpFragmentServiceProvider so you also need to enable those if that's not already the case:

.. code-block:: php

$app->register(new Provider\HttpFragmentServiceProvider());
$app->register(new Provider\ServiceControllerServiceProvider());
$app->register(new Provider\TwigServiceProvider());

If you are using FormServiceProvider, the WebProfilerServiceProvider will detect that and enable the corresponding panels.

Make sure to register all other required or used service providers before WebProfilerServiceProvider.

If you are using MonologServiceProvider for logs, you must also add symfony/monolog-bridge as a Composer dependency to get the logs in the profiler.

If you are using VarDumperServiceProvider, add symfony/debug-bundle as a Composer dependency to display VarDumper dumps in the toolbar and the profiler.

If you are using symfony/security, add symfony/security-bundle as a Composer dependency to display Security related information in the toolbar and the profiler.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].