xetaio/xetaravel-local

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

v0.0.1 2017-05-07 22:05 UTC

This package is auto-updated.

Last update: 2024-04-04 23:42:23 UTC


README

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.