Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.
/ laravel-dev Public archive

Just a laravel package with some laravel dev packages to make a developer's life easier

License

Notifications You must be signed in to change notification settings

MASNathan/laravel-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5 Development Bundle

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:

About

Just a laravel package with some laravel dev packages to make a developer's life easier

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages