Skip to content

A simple package that regroup all tools to work in local environment with @laravel.

License

Notifications You must be signed in to change notification settings

XetaIO/Xetaravel-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xetaravel Local

Stable Version Downloads Laravel License
Latest Stable Version Total Downloads Laravel 5.4 License

A simple package that regroup all tools to work in local environment.

Packages Included
barryvdh/laravel-debugbar
filp/whoops

Installation

composer require xetaio/xetaravel-local

Import the LocalEnvironmentServiceProvider in your config/app.php:

Xetaio\Local\Providers\LocalEnvironmentServiceProvider::class

To use Whoops (optional), extend your app\Exceptions\Handler to Xetaio\Local\Exceptions\LocalHandler:

<?php
namespace App\Exceptions;

use Exception;
use Illuminate\Auth\AuthenticationException;
use Xetaio\Local\Exceptions\LocalHandler as ExceptionHandler;

class Handler extends ExceptionHandler
{
    //
}

If you want to change the DebugBar config, you will need to publish the config :

php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"

Contribute

If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.