2017 © Pedro Peláez
 

library workbench

Simple convenient workbench for laravel package creator.

image

larastarscn/workbench

Simple convenient workbench for laravel package creator.

  • Monday, May 8, 2017
  • by DearMadMan
  • Repository
  • 2 Watchers
  • 4 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Larastarscn Workbench

License, (*1)

Introduction

This package provides a simple convenient workbench for Laravel package creator.That will make you quickly create the package structure via command line interface., (*2)

Installion

To get started with Workbench, add to your composer.json file as a dependency:, (*3)

composer require larastarscn/workbench

Then type the composer install command to the cli., (*4)

Configure

After installing the Workbench libary, register the Larastarscn\Workbench\WorkbenchServiceProvider in your config/app.php configuration file:, (*5)

'providers' => [
    // Other service providers...

    Larastarscn\Workbench\WorkbenchServiceProvider::class,
]

Also, add the WorkbenchMakeCommand command class to the commands array in your app/Console/Kernel.php file:, (*6)

protected $commands = [
    \Larastarscn\Workbench\Console\WorkbenchMakeCommand::class,
];

Then, you will need to publish the workbench.php configuration file to the config directory:, (*7)

php artisan vendor:publish

Also, you will need register the author infomation within config/workbench.php., (*8)

Usage

Next, you are ready to create a new package via Workbench! Simple type fllowing command to the cli:, (*9)

php artisan workbench vendor/package

Just it! For example, if you want make a package that the name is larastarscn/test. Just run command like this:, (*10)

php artisan workbench larastarscn/test

Then the workbench will ask you that "What directories do you want?", if you don't want any sub-directory in your package, just type value that one of nullno, n, false., (*11)

Also, you can create multiple directories at once, just split those via comma symbol., (*12)

Even you can create the nested directories using "dot" notation:, (*13)

> What directories do you want?
> config,resource.view,resource.lang,test

Once the package structure is generated. Workbench will automatically map the namespace of the package within the root composer.json file for you., (*14)

The Versions

08/05 2017

dev-master

9999999-dev

Simple convenient workbench for laravel package creator.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Avatar DearMadMan

laravel laravel package workbench larastarscn

08/05 2017

v0.0.2

0.0.2.0

Simple convenient workbench for laravel package creator.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Avatar DearMadMan

laravel laravel package workbench larastarscn

10/10 2016

v0.0.1

0.0.1.0

Simple convenient workbench for laravel package creator.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Avatar DearMadMan

laravel laravel package workbench larastarscn