Download the PHP package bmartel/workshop without Composer

On this page you can find all versions of the php package bmartel/workshop. 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 workshop

Workshop

Workshop is a commandline tool for quickly generating Laravel based composer packages.

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Usage

Install

composer global require "bmartel/workshop=~1.0"

Build something

workshop build vendor/package

and you will see a skeleton structure for building a package.

Laravel Generators

For convenience, most of the Laravel generators have been included so you can quickly build up Laravel based packages.

Any make: generator command you are used to in a Laravel project, php artisan make:{something}, is available through workshop build:{something}. All commands are also available through the make alias workshop make:{something}, so you only have to remember the Laravel API for the commands.

By default all generators will place the generated class files in a best guess location based on your namespacing and folder structure. If the defaults aren't working for you, you can always explicitly state where you want your files to be generated by providing the full class namespace as the name argument to the generator commands.

Migrations will always be generated into a root level migrations folder of the package. This is due to the structure and default handling in the ServiceProvider included with all workshop scaffolded packages.

workshop build:console <name> [--command]
workshop build:controller <name> [--plain]
workshop build:event <name> 
workshop build:job <name> [--queued]
workshop build:listener <name> (--event) [--queued]
workshop build:middleware <name>
workshop build:migration <name> [--create] [--table]
workshop build:model <name> [--migration]
workshop build:request <name>

For more information regarding a specific command, see the Laravel official documentation.

Laravel packages

You can make use of this package and develop it within a local laravel application you may have. To pull this package into your local development app, add the vendor/package you provided as argument to the workshop build command to the app's (lets assume the package created was acme/sprockets):

require: {
    "acme/sprockets": "dev-master"
},
"repositories": [
    {
        "type": "vcs",
        "url": "/path/to/where/acme/sprockets/was/created/locally"
    }
],

Run from your laravel app's root directory, and you are setup for easy local package development.

The development workflow simply becomes: make a change in the package on your local filesystem, go to your local development laravel app you are including the package and run . Rinse and repeat until you are ready to push it up to github or bitbucket and add the package to packagist, upon which you can drop the repostories entry and just include the composer require entry for the package.

And thats really all there is to it. Spend more time building something great, and less time naming, renaming and copying files.

Contributing

All contributions whether features or fixes should be backed by a test which outlines the work being done. Pull requests should be made to the develop branch.

Development

To begin development, run in the root of the project and start making changes. As you develop you can run the tests via .

Credits

Developed and maintained by Brandon Martel


All versions of workshop with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ~2.6
symfony/filesystem Version ~2.6
mustache/mustache Version ~2.7
illuminate/support Version ~5.0
cpliakas/git-wrapper Version ~1.0
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 bmartel/workshop contains the following files

Loading the files please wait ....