定制 nexanet/build-version 二次开发

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

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

nexanet/build-version

最新稳定版本:1.0.0

Composer 安装命令:

composer require nexanet/build-version

包简介

A Laravel package for managing build versions.

README 文档

README

A Laravel package to automatically inject build version headers into API responses.

Laravel PHP License

📌 Overview

Nexanet - Build Version is a Laravel package that automatically adds version tracking headers (X-Build-Version and X-Minimum-Build) to API responses. This allows your frontend (e.g., Flutter app) to check if an update is required, eliminating the need for a separate API request.

📦 Configuration

Simple add envoriment variable BUILD_VERSION and MINIMUM_BUILD to your .env file. The package will automatically inject these values into the response headers.

Furthermore, the package can be configured via the config/build-version.php file. To publish the configuration file, run the following command:

php artisan vendor:publish --provider="Nexanet\BuildVersion\BuildVersionServiceProvider"

📥 Installation

Require the package via Composer:

composer require nexanet/build-version

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-16