承接 synga/laravel-service-provider-helper 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

synga/laravel-service-provider-helper

Composer 安装命令:

composer require synga/laravel-service-provider-helper

包简介

The package can add service providers to your app.php when composer update finishes

README 文档

README

Finds all service providers in your project and lets you add them easily to your app.php config file

Installation

Add (for the last time!) the service provider

Synga\ServiceProviderHelper\ServiceProviderHelperServiceProvider::class

to your app.php config file.

Add the following line to you composer.json file. Make sure it is the last entry in the post-update-cmd

"post-update-cmd": [
    ...
    "Synga\\ServiceProviderHelper\\Command\\AddServiceProviderComposerCommand::addServiceProvider"
]

After you add the service provider to your app.php config file you need to run:

php artisan vendor:publish

From this moment, everytime you do a composer update this package checks if there are new service providers. When there are new service providers it will ask if you want to add them. You can add multiple service providers at once. The service providers are added after you choose exit.

Usage

This package can also be used as a standalone CLI command.

php artisan service-provider:add

You can add the --composer or -c option to run the command in composer mode (which will only add new service providers)

##Acknowledgements:

  • When you add a service provider, your app.php config file will have a slightly different formatting. I'm busy with finding a solution

Problems

If you get an error after composer update, make sure you have the latest version of composer. You can run

composer self-update

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固