a2design / laravel-service-provider
This package is abandoned and no longer maintained.
The author suggests using the faustbrian/laravel-service-provider package instead.
DRY Service Provider for Laravel 5 Packages
1.0.0
2016-11-04 04:34 UTC
Requires
- php: ^5.6 || ^7.0
- illuminate/support: 5.1.* || 5.2.* || 5.3.*
Requires (Dev)
- graham-campbell/testbench: ^3.1
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2022-02-01 13:03:07 UTC
README
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.