tuijncode/laravel-version
最新稳定版本:v2.0
Composer 安装命令:
composer require tuijncode/laravel-version
包简介
Laravel Version
README 文档
README
With Laravel Version, you can retrieve various versions within your project, which is particularly useful if you have multiple projects and need to identify which ones require updates.
Install
Install the package via Composer:
composer require tuijncode/laravel-version
Publish the package’s configuration file:
php artisan vendor:publish
Select the following option:
Provider: Tuijncode\LaravelVersion\ServiceProvider
Add your token to the .env file:
TUIJNCODE_LARAVEL_VERSION_TOKEN="your-token"
Usage
https://example.com/version?token=your-token
Response (JSON)
{ "status": "OK", "versions": { "webserver": { "name": "Apache", "version": "Apache\/2.4.58 (Unix) mod_wsgi\/4.9.4 Python\/3.11 mod_fastcgi\/mod_fastcgi-SNAP-0910052141 OpenSSL\/1.1.1u" }, "laravel": { "name": "Laravel", "version": "11.23.5" }, "database": { "name": "mysql", "version": "8.0.35" }, "php": { "name": "cgi-fcgi", "version": "8.2.20" } } }
Dashboard
Would you like to view all your projects in an online dashboard? We have successfully developed this solution and also offer installation support. https://davidvandertuijn.nl/oplossingen/versies
统计信息
- 总下载量: 1.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-29