chege-simon / vista
Horizon-style scheduler monitor for Laravel
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:laravel-package
pkg:composer/chege-simon/vista
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- orchestra/testbench: ^10.8
- phpunit/phpunit: ^12.5
README
Vista is a Horizon-style scheduler monitor for Laravel. It provides a beautiful Vue-powered dashboard to view, supervise, and manage your scheduled tasks in real time. With Vista, you can track the status of your jobs, monitor the scheduler loop, and ensure your application's scheduled commands are running reliably.
โจ Features
- ๐ Dashboard UI โ A Vue SPA that displays your scheduled tasks and their execution status.
- โฑ๏ธ Scheduler Supervisor โ Runs
schedule:runat configurable intervals. - โ๏ธ Configurable Interval โ Control how often Vista checks and runs tasks.
- ๐ Laravel Package โ Ships as a reusable package with auto-discovery.
- ๐งช Tested with Orchestra Testbench โ Ensures reliability across Laravel versions.
๐ฆ Installation
Require Vista via Composer:
composer require chege-simon/vista
๐ง Publishing Assets
Vista ships with configuration, views, and compiled dashboard assets. Publish them with:
php artisan vendor:publish --tag=vista-config php artisan vendor:publish --tag=vista-views php artisan vendor:publish --tag=vista-assets
โ๏ธ Configuration
The default configuration file is config/vista.php. You can adjust the scheduler interval:
return [ 'interval' => 60, // seconds between schedule checks ];
๐ Usage
Start the Vista scheduler supervisor:
php artisan vista
This will run schedule:run every configured interval and log output to your console.
๐ฅ๏ธ Dashboard
After installation, visit:
http://your-app.test/vista
to access the Vue SPA dashboard. Here you can monitor scheduled tasks, view logs, and confirm that your scheduler is running smoothly.
๐ Release Workflow
For maintainers:
- Build frontend assets with Vite:
npm run build
- Commit compiled assets.
- Update
CHANGELOG.md. - Tag a release:
git tag v0.5.0 git push origin v0.5.0
- Packagist will auto-update, making the new version installable.
๐งช Testing
Vista uses Orchestra Testbench to ensure compatibility with Laravel. Run the test suite with:
vendor/bin/phpunit
๐ค Contributing
Pull requests are welcome! Please include tests and follow Laravel package conventions. For major changes, open an issue first to discuss what you would like to change.
๐ License
Vista is open-source software licensed under the MIT license.