2017 © Pedro Peláez
 

symfony-bundle shared-tools-bundle

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

image

bayardev/shared-tools-bundle

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  • Sunday, October 9, 2016
  • by massipasquesi
  • Repository
  • 8 Watchers
  • 1 Stars
  • 271 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 22 Versions
  • 4 % Grown

The README.md

bayardev/shared-tools-bundle

Latest Stable Version Latest Unstable Version PHP required version License Total Downloads, (*1)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require bayardev/shared-tools-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Create VERSION file

Create an empty file named VERSION in root dir of the project, (*4)

Step 3: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*5)

<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Bayard\Bundle\SharedToolsBundle\BayardSharedToolsBundle(),
        );
        // ...
    }
    // ...
}

Use of ScriptHandler::checkDoctrineMigrations

Before you can put this ScriptHandler in composer.json of your project ensure that you have in bundles list in APPKernel.php DoctrineMigrationsBundle :, (*6)

<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
        );
        // ...
    }
    // ...
}

Than you can add this in composer.json like this :, (*7)

{
    /*...*/
    "scripts": {
            /*...*/
            "post-install-cmd": [
                "@symfony-scripts",
                "Bayard\\Bundle\\SharedToolsBundle\\Composer\\ScriptHandler::checkDoctrineMigrations"
            ]
             /*...*/
        }
    /*...*/
}

Use of syslog handler

Just add in your config.yml or/and in config_dev.yml, config_prod.yml theses parameters :, (*8)

monolog:
    handlers:
        #...
        syslog:
            type: syslog
            level: error
            ident: app
            facility: local7
            formatter: bayardlog.formatter.syslog_line

Be free to chnage level parameter but you must leave intouched the others parameters for all Bayard Projects ..., (*9)

The Versions

09/10 2016

dev-master

9999999-dev https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

dev-0.8.x-dev

dev-0.8.x-dev https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

dev-dev

dev-dev https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.0-ALPHA

0.8.0.0-alpha https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.0-ALPHA2

0.8.0.0-alpha2 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.1-ALPHA

0.8.1.0-alpha https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.2-ALPHA

0.8.2.0-alpha https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.3-BETA

0.8.3.0-beta https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v0.8.4

0.8.4.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

dev-1.0.x-dev

dev-1.0.x-dev https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.0

1.0.0.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.1

1.0.1.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.2

1.0.2.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.3

1.0.3.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.4

1.0.4.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.5

1.0.5.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.6

1.0.6.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.7

1.0.7.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.10

1.0.10.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.11

1.0.11.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.8

1.0.8.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard

09/10 2016

v1.0.9

1.0.9.0 https://github.com/bayardev

Symfony Bundle with shared tools for Bayard projects (but every symfony project can use it)

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by Massimiliano Pasquesi

symfony tools bayard