Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Software-For-Asset-Management/environment-symfony-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

environment-symfony-tools

Symfony 4.x

composer require mysam/environment-symfony-tools:^2.0

Add the following in your root composer.json file:

{
    "auto-scripts": {
        "sam:bin:install": "symfony-cmd"
    },
}

Symfony 3.x

How to install

composer require mysam/environment-symfony-tools:^1.0

Add the following in your root composer.json file:

{
    "scripts": {
        "post-install-cmd": [
            "SAM\\EnvironmentSymfonyTools\\Composer\\ScriptHandler::install"
        ],
        "post-update-cmd": [
            "SAM\\EnvironmentSymfonyTools\\Composer\\ScriptHandler::install"
        ]
    }
}

How it works

When you install this composer package, on post-install, we copy src/ content to the Symfony project