Looking to hire Laravel developers? Try LaraJobs

laravel-service-provider maintained by a2design

Description
DRY Service Provider for Laravel 5 Packages
Author
Last update
2016/11/22 07:55 (dev-master)
License
Links
Downloads
26

Comments
comments powered by Disqus

Laravel Service Provider

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require faustbrian/laravel-service-provider

Usage

<?php

namespace Vendor\Package;

class ServiceProvider extends \BrianFaust\ServiceProvider\ServiceProvider
{
    public function boot()
    {
        $this->publishMigrations();
        $this->publishConfig();
        $this->publishViews();
        $this->publishAssets();
        $this->loadViews();
        $this->loadTranslations();
    }
    
    public function register()
    {
        $this->mergeConfig();
    }
}

Security

If you discover a security vulnerability within this package, please send an e-mail to Brian Faust at hello@brianfaust.de. All security vulnerabilities will be promptly addressed.

License

The The MIT License (MIT). Please check the LICENSE file for more details.