Download the PHP package softpyramid/forge-status without Composer
On this page you can find all versions of the php package softpyramid/forge-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softpyramid/forge-status
More information about softpyramid/forge-status
Files in softpyramid/forge-status
Package forge-status
Short Description Real-time Laravel Forge deployment status indicator via webhooks
License MIT
Informations about the package forge-status
Laravel Forge Webhook Status
Real-time deployment status indicator for Laravel Forge using webhooks. Get instant visual feedback when your deployments start, succeed, or fail.
Features
- 🚀 Real-time Updates - Simple polling-based live deployment status
- 🎯 No Database Required - Uses cache only for current status
- 🔗 Webhook-driven - Receives deployment events from Laravel Forge
- 🎨 Auto-injection - Automatically appears in your Laravel layouts
- ⚙️ Configurable - Customizable polling interval and authentication
- 🖥️ Full-Screen Overlay - Prominent modal-style deployment notifications
- 🎭 Modern UI - Beautiful Tailwind CSS styling
- 📱 Responsive - Works on all device sizes
- 🔧 Zero Dependencies - No broadcasting or WebSocket setup required
Requirements
- PHP 8.2 or higher
- Laravel 10, 11, or 12
- No additional dependencies required!
Installation
The package will automatically register its routes and service provider. No manual configuration needed!
Configuration
1. Publish config (optional):
2. Add to .env (optional):
3. Register Webhook in Laravel Forge
In your Forge site settings:
- Go to "Webhooks"
- Add new webhook URL:
https://yourdomain.com/forge-webhook - Optionally add token parameter:
https://yourdomain.com/forge-webhook?token=your-secret-token
Usage
Auto-inject into layouts
Add the component to your layout file (e.g., resources/views/layouts/app.blade.php):
That's it! The indicator will automatically appear when deployments start and update in real-time.
How It Works
- Forge sends webhook POST request when deployment starts/finishes
- Package receives webhook and stores status in cache
- Frontend polls the status endpoint every few seconds
- Indicator updates automatically when status changes
- No database storage - uses cache for current status only
- Simple and reliable - no WebSocket complexity
Laravel Version Compatibility
| Laravel Version | Package Version | PHP Version |
|---|---|---|
| Laravel 12.x | ^1.0 | ^8.2 |
| Laravel 11.x | ^1.0 | ^8.2 |
| Laravel 10.x | ^1.0 | ^8.1 |
Testing
Testing
Test the package functionality
This command will test all package functionality including cache storage, webhook endpoint, and status endpoint.
Test with your data
Then open your Laravel app in the browser to see the overlay in action!
Debugging
Check if routes are registered
This command will show you all registered Forge Status routes and verify they're working correctly.
Manual route discovery
If routes aren't auto-registered, run:
Troubleshooting
Laravel 12 Compatibility Issues
If you encounter issues with Laravel 12, ensure you have:
- PHP 8.2+ installed
- Updated dependencies - run
composer update - Cleared caches - run
php artisan config:clear && php artisan cache:clear
Polling Not Working
Make sure you have:
-
Polling interval configured in your
.env: -
Status endpoint is accessible at
/forge-status - Cache is working - check your cache configuration
Webhook Not Receiving Data
Verify:
- Webhook URL is correctly registered in Laravel Forge
- Token verification is properly configured (if using)
- Route is accessible - check
/forge-webhookendpoint
License
MIT License. See LICENSE file for details.
Author
Fakhar Zaman Khan - SoftPyramid
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
All versions of forge-status with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/cache Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0