2017 © Pedro Peláez
 

symfony-bundle distribution-bundle

Symfony2 Project Distribution helper Bundle

image

netgusto/distribution-bundle

Symfony2 Project Distribution helper Bundle

  • Friday, June 6, 2014
  • by netgusto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Symfony-DistributionBundle

Forwarding assets packages to web dir

In app/config.yaml, (*1)

netgusto_distribution:
    assets_forwarding:
        dest_dir: ~
        packages:
            - some/package
            - some/otherpackage

In composer.json, (*2)

{
    '...',
    "scripts": {
        "post-install-cmd": [
            '...',
            "Netgusto\\DistributionBundle\\Composer\\ScriptHandler::forwardAssetsToWebDir"
        ],
        "post-update-cmd": [
            '...',
            "Netgusto\\DistributionBundle\\Composer\\ScriptHandler::forwardAssetsToWebDir"
        ]
    },
    '...',
}

In app/AppKernel.php, (*3)

$bundles = array(
    // ...
    new Netgusto\DistributionBundle\NetgustoDistributionBundle(),
    // ...
);

Packages will be forwarded to web/vendor at composer install, and at every composer update., (*4)

The Versions

06/06 2014

dev-master

9999999-dev https://github.com/netgusto/Symfony-DistributionBundle

Symfony2 Project Distribution helper Bundle

  Sources   Download

MIT

The Requires

 

by Avatar almasaeed2010

symfony distribution

06/06 2014

v1.0.0

1.0.0.0 https://github.com/netgusto/Symfony-DistributionBundle

Symfony2 Project Distribution helper Bundle

  Sources   Download

MIT

The Requires

 

by Avatar almasaeed2010

symfony distribution