定制 murat-cileli/update-notifier 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

murat-cileli/update-notifier

最新稳定版本:1.0.0

Composer 安装命令:

composer require murat-cileli/update-notifier

包简介

Composer update notifier for Laravel.

README 文档

README

Update Notifier

Composer Update Notifier for Laravel

Configurable Laravel package that checks Composer updates and notify via e-mail if any update exist.

Installation

composer require murat-cileli/update-notifier

Configuration with .env file

UPDATE_NOTIFIER_COMPOSER_PATH: Composer binary path. Default: composer

UPDATE_NOTIFIER_CHECK_VERSION: Allowed values are all, major, minor and patch. Default: all.

UPDATE_NOTIFIER_DIRECT_PACKAGES: Checks direct dependencies only if set true. Defult: true

UPDATE_NOTIFIER_LOCKED_PACKAGES: Checks locked packages only if set true. Default: true.

UPDATE_NOTIFIER_DEVELOPMENT_PACKAGES: Checks development packages if set true. Defalut: false.

UPDATE_NOTIFIER_MAIL_TO: Mail recipient(s) for e-mail notification. Multiple mails can be seperated with comma. Eg. mail@example.com, mail2@example.com

Configuration with config file

Config file to be published first using;

php artisan vendor:publish --tag update-notifier

then parameters can be edited in config/update_notifier.php.

Usage

From you project root:

php artisan update-notifier:notify

Notifications can be scheduled with cron. For example, this checks updates every morning at 09:00
0 9 * * * cd /your/project && php artisan update-notifier:notify

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-28