tuijncode / laravel-version
Laravel Version
v2.0
2024-10-31 09:28 UTC
Requires
- php: ^8.2
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