2017 © Pedro PelĂĄez
 

library laravel-dev

Laravel Development Package

image

masnathan/laravel-dev

Laravel Development Package

  • Tuesday, May 23, 2017
  • by MASNathan
  • Repository
  • 1 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

Laravel 5 Development Bundle

Install

This package is meant to be used on development only., (*1)

Require this package with composer using the following command:, (*2)

composer require masnathan/laravel-dev --dev

In Laravel, instead of adding the service provider in the config/app.php file, you can add the following code to your app/Providers/AppServiceProvider.php file, within the register() method:, (*3)

public function register()
{
    if ($this->app->environment() !== 'production') {
        $this->app->register(\MASNathan\LaravelDev\ServiceProvider::class);
    }
    // ...
}

This will allow your application to load the Laravel Dev on non-production environments., (*4)

To publish the configurations you can simply run the following command:, (*5)

php artisan vendor:publish --provider="MASNathan\LaravelDev\ServiceProvider" --tag="config"

That's it!, (*6)

Now you have the following packages up and running:, (*7)

The Versions