chege-simon/vista 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chege-simon/vista

最新稳定版本:v0.5.10

Composer 安装命令:

composer require chege-simon/vista

包简介

Horizon-style scheduler monitor for Laravel

README 文档

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.

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-12