jeelcodes / laravel-system-info
Laravel package to display composer and environment details
Package info
github.com/jeelcodes/laravel-system-info
Language:Blade
pkg:composer/jeelcodes/laravel-system-info
Requires
- php: ^7.2.5|^8.0
- illuminate/routing: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^6.0|^7.0|^8.0|^9.0
- phpunit/phpunit: ^9.5|^10.5
README
A powerful and easy-to-use Laravel package to display your application's environment details, and composer package dependencies through a clean user interface.
Features
- System Environment Overview: Quickly view PHP version, Laravel version, server software, OS, and database connection details.
- Composer Packages: See a complete list of installed composer packages along with their versions.
- Customizable Routes: Change the default URL path to whatever fits your application.
- Zero Dependencies: Built with native Laravel features, keeping your project lightweight.
Requirements
- PHP 7.2.5 or higher (Fully compatible with PHP 8.x)
- Laravel 6.0 through 11.0+
Installation
You can install the package via composer:
composer require jeelcodes/laravel-system-info
The package will automatically register its service provider in modern Laravel applications.
Usage
Once installed, simply navigate to the following URL in your browser:
http://your-app-domain.test/system-info
Here you will see a beautifully formatted dashboard containing all your system information.
Configuration
If you want to change the default route prefix (/system-info), you can publish the configuration file.
Run the following artisan command:
php artisan vendor:publish --tag="system-info-config"
This will create a config/system-info.php file in your application's config directory:
<?php return [ // The route path to access the system info dashboard 'route_prefix' => 'system-info', ];
Change the route_prefix value to your desired URL path (e.g., 'admin/system-status').
Views
If you want to customize the appearance of the dashboard, you can publish the views:
php artisan vendor:publish --tag="system-info-views"
(Note: View publishing requires adding the 'system-info-views' tag to the ServiceProvider, make sure it's published if needed).
Testing
vendor/bin/phpunit
Security Vulnerabilities
If you discover a security vulnerability within this package, please send an e-mail to Jeel Sureja via [your email]. All security vulnerabilities will be promptly addressed.
License
The MIT License (MIT). Please see License File for more information.