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

v0.5.10 2025-12-12 10:24 UTC

This package is not auto-updated.

Last update: 2025-12-13 08:29:08 UTC


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:run at 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:

  1. Build frontend assets with Vite:
npm run build
  1. Commit compiled assets.
  2. Update CHANGELOG.md.
  3. Tag a release:
git tag v0.5.0
git push origin v0.5.0
  1. 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.