vishalxtyagi / php-ghost-wall
A package for monitoring code integrity, alerting on tampering, and sending server information on boot.
v1.0.0
2024-08-26 03:23 UTC
README
PhpGhostWall is a Laravel package for monitoring code integrity, alerting on tampering, and sending server information on boot.
Installation
You can install the package via composer:
composer require vishalxtyagi/php-ghost-wall
Usage
- Publish the config file:
php artisan vendor:publish --provider="Vishalxtyagi\PhpGhostWall\PhpGhostWallServiceProvider"
- Set up your environment variables in
.env
:
INTEGRITY_MONITOR_FILE_PATH=app/Providers/AppServiceProvider.php
INTEGRITY_MONITOR_HASH=your_file_hash_here
INTEGRITY_MONITOR_ALERT_ENDPOINT=https://your-alert-endpoint.com
INTEGRITY_MONITOR_ENDPOINT=https://your-monitor-endpoint.com
- The package will automatically start monitoring on application boot.
Configuration
You can modify the configuration in the published config/ghostwall.php
file.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email vishaltyagi.sde@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.