定制 neondigital/changelog 二次开发

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

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

neondigital/changelog

Composer 安装命令:

composer require neondigital/changelog

包简介

A changelog package for Laravel

README 文档

README

Provide changelog updates to a select list of email addresses to show what has changed in your app.

Installation

composer require neondigital/changelog

Publish the configuration

php artisan vendor:publish 

Usage

Create a changelog entry

Changelog Markdown files live in the changelog directory at the root of your application and should be in named in YYYY_MM_DD_XXXXXXX.

---
title: Minor updates to the system
version: 1.0.3
changes: 
    - 
        type: fix
        title: "Documentation: fix typo and phrasing"
    -
        type: improvement
        title: Add clarity for opt-out telemetry during upgrade
    -
        type: fix
        title: Handle soft deleted purchasable on order lines
    -
        type: addition
        title: We added this thing so it's better
---

## What's Changed
* A new feature was added

Sending update emails

You can send changelog notifications to an array of email addresses:

    Changelog::notifyOnRelease(function () : array {
        return ['user1@domain.com', 'user2@domain.com'];
    });

You can override the published views in views/vendor/changelog.

Publishing a release

To publish a release and send out notifications you just need to call:

php artisan changelog:release

This will create a release manifest with the latest release and send out any emails as defined using the notifiyOnRelease method. The creation of the manifest file ensures you can call this command repeatedly without the worry of sending multiple notifications.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-03