PHP Classes
elePHPant
Icontem

laravel-dev: Preset Laravel developer packages

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-07-06 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 50 This week: 1All time: 8,932 This week: 558Up
Version License PHP version Categories
laravel-dev 1.0MIT/X Consortium ...5.4PHP 5, Utilities and Tools, Libraries
Description Author

This package can preset Laravel developer packages.

It can register several well known packages as service providers.

Currently it sets providers for services dev-booter, laravel-ide-helper, laravel-view-generator, and interactive-make.

  Performance   Level  
Name: Andre Roque Filipe is available for providing paid consulting. Contact Andre Roque Filipe .
Classes: 9 packages by
Country: Portugal Portugal
Age: 25
All time rank: 127016 in Portugal Portugal
Week rank: 156 Up4 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x

Details

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:

  Files folder image Files  
File Role Description
Files folder imageconfig (1 file)
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file laravel-dev.php Conf. Configuration script

  Files folder image Files  /  src  
File Role Description
Files folder imageProviders (2 files)
  Plain text file ServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Providers  
File Role Description
  Plain text file LaravelDevBooter.php Class Class source
  Plain text file LaravelIdeHelper.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:50
This week:1
All time:8,932
This week:558Up