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-11-05 00:51:36 UTC


README

Xetaravel Local

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

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.