2017 © Pedro Peláez
 

library carbon-profiler-bundle

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

image

dem3trio/carbon-profiler-bundle

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  • Monday, June 19, 2017
  • by dem3trio
  • Repository
  • 2 Watchers
  • 2 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 2 % Grown

The README.md

Carbon Profiler Bundle

SymfonyInsight, (*1)

Symfony 2/3/4 profiler extension, to change the Carbon php date in the whole project., (*2)

Installation

Install the package with composer., (*3)

composer require dem3trio/carbon-profiler-bundle --dev

Configuration Symfony >= 2.8 and SF <= 3.3

As the package adds a new panel in the Symfony profiler, you should add the bundle under the dev section., (*4)

// app/AppKernel.php

  public function registerBundles()
    {
        $bundles = [
           // ... prod bundles
        ];

        if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
          // ... dev bundles

            if ('dev' === $this->getEnvironment()) {
                $bundles[] = new Dem3trio\Bundle\CarbonProfilerBundle\CarbonProfilerBundle();
            }
        }
     }
// 

Add the routing file under the routing_dev.yml file, (*5)

# app/config/routing_dev.yml

_time_machine:
    resource: '@CarbonProfilerBundle/Resources/config/routing.yml'
    prefix: /_time_machine

Configuration for Symfony 3.4 and 4.x

Add the bundle to your bundles.php, (*6)

// config/bundles.php

<?php

return [
    // ...
    Dem3trio\Bundle\CarbonProfilerBundle\CarbonProfilerBundle::class => ['dev' => true],
    ];

And add the routing file:, (*7)

# config/routes/dev/carbon_profiler.yml

_time_machine:
    resource: '@CarbonProfilerBundle/Resources/config/routing.yml'
    prefix: /_time_machine

The Versions

19/06 2017

dev-master

9999999-dev

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

1.0.4

1.0.4.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

1.0.3

1.0.3.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

1.0.2

1.0.2.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

1.0.1

1.0.1.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

0.1.0

0.1.0.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/06 2017

1.0.0

1.0.0.0

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

04/06 2017

dev-add_tests

dev-add_tests

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/06 2017

dev-feature/reorganize_repo

dev-feature/reorganize_repo

Symfony 2/3 profiler extension, to change the Carbon php date in the whole project.

  Sources   Download

MIT

The Requires