2017 © Pedro PelĂĄez
 

library scripts-dev

Laravel Scripts-Dev, execute dev scripts on development environment.

image

menthol/scripts-dev

Laravel Scripts-Dev, execute dev scripts on development environment.

  • Saturday, August 30, 2014
  • by menthol
  • Repository
  • 1 Watchers
  • 0 Stars
  • 203 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel 4 Scripts-dev

This packages execute all commands added into composer scripts-dev directive., (*1)

Installation

Require this package in your composer.json and run composer update (or run composer require menthol/scripts-dev:dev-master directly):, (*2)

"menthol/scripts-dev": "dev-master"

After updating composer, add the ServiceProvider to the providers array in app/config/app.php, (*3)

'Menthol\ScriptsDev\ScriptsDevServiceProvider',

Publish the config., (*4)

php artisan config:publish menthol/scripts-dev

Configure your local dev environment by adding 'dev' => true, to your local package config file., (*5)

You can configure your composer.json. In each scripts step add php artisan scripts-dev {step}, (*6)

"scripts":{
    "post-update-cmd":[
        "php artisan clear-compiled",
        "php artisan optimize",
        "php artisan scripts-dev post-update-cmd"
    ]
},

Now you can add your dev commands, (*7)

"scripts-dev":{
    "post-update-cmd":[
        "php artisan ide-helper:generate"
    ]
},

The Versions

30/08 2014

dev-master

9999999-dev

Laravel Scripts-Dev, execute dev scripts on development environment.

  Sources   Download

GPL-2.0

The Requires

 

by Nathanaël Louison

laravel composer dev