2017 © Pedro Peláez
 

symfony-bundle server-load-bundle

Server Load for development app

image

rem42/server-load-bundle

Server Load for development app

  • Sunday, July 2, 2017
  • by rem42
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

ServerLoadBundle

Installation

Installation using composer is really easy: this command will add "rem42/server-load-bundle": "dev-master" to your composer.json and will download the bundle:, (*1)

composer require rem42/server-load-bundle dev-master

Enable the bundle in your kernel:, (*2)

    <?php
    // app/AppKernel.php

    public function registerBundles()
    {
        // ...

        if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
            // ...
            $bundles[] = new Rem42\Bundle\ServerLoadBundle\ServerLoadBundle();
        }
    }

Add the following lines at app/config/config_dev.yml:, (*3)

rem42_server_load:
    host: "your_personalized_host.dev:port"

Execute

php bin/console server:load

The Versions