masnathan/laravel-dev

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel Development Package

v1.0.0 2017-05-23 18:04 UTC

This package is not auto-updated.

Last update: 2020-08-22 05:46:51 UTC


README

Install

This package is meant to be used on development only.

Require this package with composer using the following command:

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:

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.

To publish the configurations you can simply run the following command:

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

That's it!

Now you have the following packages up and running: