PHPackages                             artistan/workbench - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. artistan/workbench

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

artistan/workbench
==================

adds configurable workbench management commands to laravel

0.3(11y ago)21351GPL-3.0+PHPPHP &gt;=5.3.0

Since Jun 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Artistan/Workbench)[ Packagist](https://packagist.org/packages/artistan/workbench)[ RSS](/packages/artistan-workbench/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

Workbench Helper for Laravel
============================

[](#workbench-helper-for-laravel)

adds configurable workbench management commands to laravel

### Composer Configuration

[](#composer-configuration)

Include the artistan workbench package as a dependency in your `composer.json` [Packagist](https://packagist.org/packages/artistan/workbench):

```
"require-dev": {
    "artistan/workbench": "*"
},

```

### Installation

[](#installation)

Once you update your composer configuration, run `composer install` to download the dependencies.

Add a ServiceProvider to your providers array in `app/config/app.php`:

```
'providers' => array(

	'Artistan\Workbench\WorkbenchServiceProvider',

)

Finally, publish the configuration files via `php artisan config:publish artistan/workbench`.

```

### Configuration

[](#configuration)

Once you have published the configuration files, you can add your workbench package options to the config file in `app/config/packages/artistan/workbench/config.php`.

```
/*
 * config for commands workbench:*
 */
'packages'=>[
    'vendor/package'=>[
        'git'=>'git@github.com:vendor/devPackage.git',
        'remotes'=>[
            'upstream'=>'git@github.com:vendor/masterPackage.git',
            'upstream2'=>'git@github.com:vendor/masterPackage.git',
        ]
    ],
]

```

### Usage

[](#usage)

Command Line Interface

```
php artisan workbench:install

    OPTIONS:
        -d          : destroy workbench directory and start over from scratch
        -u          : fetch the remote repositories
        -m{string}  : merge {remote name} with this branch locally
        -c          : skip composer install/update
        -b          : skip bower install
        -p          : skip publishing assets and configs

```

### Details

[](#details)

- update storage permissions
- get packages config \*\* de

    ```
      $this->benchhelper->chStorage();
      $packages = \Config::get('workbench::packages');
      if($this->option('destroy')){
          if ($this->confirm('Are you sure you want to remove all current workbench packages? [yes|no]'))
          {
              $this->benchhelper->destroy();
          }
      }
      foreach($packages as $name=>$package){
          echo "PACKAGE: $name\n";
          if(isset($package['git'])){
              $this->benchhelper->mkdir($name);
              $action = $this->benchhelper->getGit($name,$package);
              if($this->option('upstream')){
                  echo "upstream\n";
                  $this->benchhelper->getUpstream($name,$package,$this->option('merge'));
              }
              if(!$this->option('skipBower')){
                  $this->benchhelper->bower($name);
              }
              if(!$this->option('skipComposer')){
                  $this->benchhelper->composer($name,$action);
              }
              if(!$this->option('skipAssets')){
                  $this->call('asset:publish', array('--bench' => $name));
              }
              if($this->option('publishConfigs') || $action=='install'){
                  // this should not be done all the time, first time only (install)
                  $this->call('config:publish', array('argument' => $name, '--path' => 'workbench/'.$name.'/src/config'));
              }
          }
          echo "============================\n\n\n";
      }
      if(!$this->option('skipBower')){
          $this->benchhelper->bower();
      }
      if(!$this->option('skipComposer')){
          $this->benchhelper->composer();
          // remove any packages from vendors directory that you are workbenching
          $this->benchhelper->composerVendorCleanup(array_keys($packages));
      }
      //$this->call('command:name', array('argument' => 'foo', '--option' => 'bar'));

    ```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~22 days

Total

13

Last Release

4248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc511d79233a52b0bb85db90dcac069b3482399e1a6778acfd1825092a2de9cb?d=identicon)[Artistan](/maintainers/Artistan)

---

Top Contributors

[![Artistan](https://avatars.githubusercontent.com/u/801349?v=4)](https://github.com/Artistan "Artistan (3 commits)")[![iloverink](https://avatars.githubusercontent.com/u/47754304?v=4)](https://github.com/iloverink "iloverink (1 commits)")

---

Tags

laravelhelperslaravel4workbenchartistan

### Embed Badge

![Health badge](/badges/artistan-workbench/health.svg)

```
[![Health](https://phpackages.com/badges/artistan-workbench/health.svg)](https://phpackages.com/packages/artistan-workbench)
```

###  Alternatives

[prologue/support

Prologue Support is an extension for Illuminate Support

1616.8k](/packages/prologue-support)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
