PHPackages                             jackiedo/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. jackiedo/workbench

Abandoned → [jackiedo/laravel-packager](/?search=jackiedo%2Flaravel-packager)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

jackiedo/workbench
==================

Bring workbench back to Laravel 5+ and later.

5.6.1(6y ago)106.0k11MITPHPPHP &gt;=7.1.3

Since Jan 13Pushed 5y ago2 watchersCompare

[ Source](https://github.com/JackieDo/workbench)[ Packagist](https://packagist.org/packages/jackiedo/workbench)[ RSS](/packages/jackiedo-workbench/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (54)Used By (0)

**As of July 1 2020, Laravel Workbench is no longer maintained.**

It will still exist as an archive, but it will not be taken care of, resolve issues and no new releases will be released in the future.

Because the versions of the package have been fragmented, at the same time its features are no longer useful and suitable for modern Laravel versions, I decided to stop developing for it. Instead, I built another more efficient package called [Laravel Packager](https://github.com/JackieDo/laravel-packager) and put energy into it.

— *Jackie Do*

---

Laravel Workbench
=================

[](#laravel-workbench)

[![Latest Stable Version](https://camo.githubusercontent.com/64d0456b9fed99c1c2345e6124b2146008faa2fefdb0b077b22fe31296243376/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f776f726b62656e63682f762f737461626c65)](https://packagist.org/packages/jackiedo/workbench)[![Total Downloads](https://camo.githubusercontent.com/a7763a88b09e47578faee178c00dd00129fa1c9e48501a8d04b8437dfcf4ee66/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f776f726b62656e63682f646f776e6c6f616473)](https://packagist.org/packages/jackiedo/workbench)[![Latest Unstable Version](https://camo.githubusercontent.com/4bc233fb2a988c8974c8de7e605040db238128197e095c0ad97f679bab1cd2dc/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f776f726b62656e63682f762f756e737461626c65)](https://packagist.org/packages/jackiedo/workbench)[![License](https://camo.githubusercontent.com/7c1dfbd8199fef1a24f67a47c2a1274f78680ef7c3c5120feedc0704d9b3589c/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f776f726b62656e63682f6c6963656e7365)](https://packagist.org/packages/jackiedo/workbench)

Laravel Workbench (originally from Laravel 4.x, has now stopped growing) support our in building perfect structured packages for Laravel without spending a lot of time.

This package was created to bring Laravel Workbench back to Laravel 5+ and higher. Let this package support you in every detail through it's powerful features.

Features
========

[](#features)

- Build directory structure for package.
- Generate a standard composer.json file for package.
- Generate a standard Service Provider file for package.
- Generate some scaffold resources file, such as:
    - Facade files
    - Interface files
    - Abstract files
    - Exception files
    - Controller files
    - Middleware files
    - Model files
    - Artisan CLI files
    - Configuration file
    - Migration files
    - Language files
    - View files
    - Route file
    - Helper file
    - ...
- Autoload dumping to be able to use your package immediately (by adding Service Provider of your package into `providers` section in `config/app.php` file or using discovery package feature through `extra/laravel` section in `composer.json` file).

Overview
========

[](#overview)

Look at one of the following topics to learn more about Laravel Workbench

- [Versions and compatibility](#versions-and-compatibility)
- [Installation](#installation)
- [Usage](#usage)
- [Screenshot](#screenshot)
- [Configuration](#configuration)
- [Other documentation](#other-documentation)

Versions and compatibility
--------------------------

[](#versions-and-compatibility)

Each branch of Laravel Workbench is similarities with each version of Laravel 5+. Currently, this package supports the following versions of Laravel:

BranchLaravel version[5.0](https://github.com/JackieDo/workbench/tree/5.0)5.0[5.1](https://github.com/JackieDo/workbench/tree/5.1)5.1[5.2](https://github.com/JackieDo/workbench/tree/5.2)5.2[5.3](https://github.com/JackieDo/workbench/tree/5.3)5.3[5.4](https://github.com/JackieDo/workbench/tree/5.4)5.4[5.5](https://github.com/JackieDo/workbench/tree/5.5)5.5[5.6](https://github.com/JackieDo/workbench/tree/5.6)5.6In each branch we have multiple versions, tagged syntax as `5.0.*`, `5.1.*`, `5.2.*`...

Installation
------------

[](#installation)

**Step 1 - Install this package through [Composer](https://getcomposer.org).**

Run the `composer require` command from the terminal on your project source:

```
$ composer require jackiedo/workbench:{{laravel-version}}.*

```

> *Note: The `{{laravel-version}}.*` string above is main version of Laravel that you want to install Laravel Workbench on it. Example, if you want to install this package on Laravel 5.6, you have to set require is `jackiedo/workbench:5.6.*`*

**Step 2 - Add mechanism to autoload service provider (for Laravel 5.4 or earlier only).**

Open `config/app.php` file, and add a new item to the providers array:

```
...
'providers' => array(
    ...
    Jackiedo\Workbench\WorkbenchServiceProvider::class,
),

```

> *Note: If we are using Laravel version 5.5 or later, with the feature `Discovery Packages`, we can skip above step.*

**Step 3 - Publish the configuration file.**

From the terminal on your project source, run the command as follow:

```
$ php artisan vendor:publish --provider="Jackiedo\Workbench\WorkbenchServiceProvider" --force

```

> *Note: You should use `--force` option in publish command to override configuration file with newest one.*

**Step 4 - Register the workbench package loaders.**

Open the `bootstrap/app.php` file at the root of Laravel project and put this following code at the very top of script (after the PHP open tag):

```
