benepfist/artisan-utility

There is no license information available for the latest version (v0.5) of this package.

Add Alias and ServiceProvider using the cli

v0.5 2014-05-09 20:15 UTC

This package is not auto-updated.

Last update: 2024-04-08 23:03:55 UTC


README

Build Status

Installation

First ensure you have the latest version of composer installed.

Run composer self-update.

Install this package through Composer. To your composer.json file, add:

"require-dev": {
	"benepfist/artisan-utility": "dev-master"
}

Next, run composer install --dev to download it.

Add the service provider to app/config/local/app.php, within the providers array.

'providers' => append_config(
	array(
		// ...

		'Benepfist\ArtisanUtility\ArtisanUtilityServiceProvider',
		)
	),
)

Run php artisan to view the new laravel:add command:

  • laravel:add --provider="DemoPackage\Demo\DemoServiceProvider" - Add a new ServiceProvider
  • laravel:add --alias="Demo => DemoPackage\Facade\Demo" - Add a new Alias