承接 version-checker/laravel-version-checker 相关项目开发

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

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

version-checker/laravel-version-checker

最新稳定版本:v1.1.2

Composer 安装命令:

composer require version-checker/laravel-version-checker

包简介

A Laravel package to check for framework updates and notify via Telegram

README 文档

README

A Laravel package to check for new Laravel framework releases, verify PHP version and extension compatibility, and notify via Telegram. It also ensures the server’s PHP extensions are sufficient for the project’s Laravel version.

Installation

  1. Install the package via Composer:

    composer require version-checker/laravel-version-checker
  2. Publish the configuration file:

    php artisan vendor:publish --tag=config
  3. Update your .env file:

    VERSION_CHECKER_TELEGRAM_CHAT_ID=your_chat_id
    VERSION_CHECKER_GITHUB_TOKEN=your_github_token
    VERSION_CHECKER_SCHEDULE_ENABLED=true
    VERSION_CHECKER_SCHEDULE_CRON="0 0 * * *"

Setup

Telegram Bot

  • Create a bot via @BotFather and get the token.
  • Start a chat with the bot and get the chat ID using https://api.telegram.org/bot<token>/getUpdates.

GitHub Token

  • Create a personal access token with repo scope in GitHub Settings.

Run the Command

php artisan laravel:check-version

The command checks:

  • The latest Laravel release via GitHub API.
  • The project’s installed Laravel version (from composer.json).
  • PHP version compatibility with the latest Laravel version.
  • Whether the server’s PHP extensions are sufficient (all required extensions are enabled).
  • Sends a Telegram notification with a detailed compatibility report, including installation suggestions for missing extensions.

The command is scheduled to run daily by default (configurable via VERSION_CHECKER_SCHEDULE_CRON).

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固