Download the PHP package jackiedo/workbench without Composer

On this page you can find all versions of the php package jackiedo/workbench. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package workbench

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 and put energy into it.

Jackie Do


Laravel Workbench

Latest Stable Version Total Downloads Latest Unstable Version License

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

Overview

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

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:

Branch Laravel version
5.0 5.0
5.1 5.1
5.2 5.2
5.3 5.3
5.4 5.4
5.5 5.5
5.6 5.6

In each branch we have multiple versions, tagged syntax as 5.0.*, 5.1.*, 5.2.*...

Installation

Step 1 - Install this package through Composer.

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

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:

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:

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):

Step 5 - Add mechanism to auto discover workbench packages (for Laravel 5.5 or later only).

In this final step, if we are using Laravel version 5.5 or later, we should to add the feature Auto Discover Workbench Packages into post-autoload-dump section in composer.json file of our Laravel project.

Open composer.json file, and add the line @php artisan workbench:discover after the line @php artisan package:discover as follow:

Note: If we are using Laravel version 5.4 or earlier, we do not perform the above step.

Usage

Now, you can use workbench commands to create your packages same as on Laravel 4.2.

Note: Before you create a package, you should to update name and email config value in your config/workbench.php file.

Creating a basic package.

Syntax:

Note: The vendor/name string above is the form of your package name. Example: jackiedo/demo-package

Creating a package with generating some scaffold resources.

Syntax:

Dump autoloader for all workbench packages

During the process of building your package, every time you generate a new class, file or change the composer.json file of package, you should rebuild the autoloader for the package through the following command:

Manual discover workbench packages

During the process of building your package, every time you change the extra/laravel section in composer.json file of your package, you should rebuild cached through the following command:

Or you can use the composer dump-autoload command, because we add above command into post-autoload-dump section in composer.json file of Laravel project during the installation process.

Delete an existing workbench package

Syntax:

Screenshot

Create package without generating scaffold resources.

create-without-resources result-without-resources

Create package with generating scaffold resources.

create-with-resources result-with-resources

Create package with generating scaffold resources and point PSR-4 autoloading namespace to the src directory.

create-with-point-namespace-to-src-dir result-with-point-namespace-to-src-dir

Configuration

All details are provided in your config/workbench.php as comments (you have to run Artisan vendor:publish command before). Please read carefully before use.

Other documentation

For more documentation about package development, you can visit Official Laravel Documentation pages:


All versions of workbench with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
illuminate/filesystem Version ~5.6
illuminate/support Version ~5.6
symfony/finder Version 4.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jackiedo/workbench contains the following files

Loading the files please wait ....