chege-simon/vista
Vista is a Laravel package for building clean, reusable UI views with a simple, structured approach. It helps you organize templates and components for faster development, consistent layouts, and easier maintenance across your application.
chege-simon/vista) mimics Laravel Horizon’s job queue management capabilities but integrates with Laravel’s built-in scheduler (Artisan::schedule()). This is ideal for teams already using Laravel’s scheduler but needing real-time monitoring, retries, and failure handling without adopting full Horizon infrastructure (e.g., Redis, queues, or Supervisor).laravel/framework (core Laravel).spatie/laravel-schedule (if using Spatie’s scheduler).config/vista.php (retries, logging, job timeouts).JobFailed, JobSucceeded).jobs, failed_jobs, job_executions). Risk of table bloat with high-volume schedules.Vista::prune() or scheduled DB maintenance.process() in scheduler.tinker or custom CLI commands (php artisan vista:list).Vista::retry() or wrap jobs in try-catch.app/Console/Kernel.php scheduled jobs.composer require chege-simon/vista
php artisan vista:install
config/vista.php) and migrations.Vista::job() or use the VistaJob trait:
use ChegeSimon\Vista\Traits\VistaJob;
class MyJob implements VistaJob {
public function run() { ... }
}
schedule() to use Vista’s job class:
$schedule->job(new MyJob())->everyMinute();
php artisan make:command VistaFailedJobs
VistaJob trait or use Vista::job() wrapper.Vista::prune(14) to keep 14 days of data).config/vista.php (easy to update).job_executions table or use php artisan vista:list.Vista::debug() to inspect job state.max_attempts and backoff settings.process() in scheduler for parallelism (limited by server resources).job_executions table is indexed:
Schema::table('job_executions', function (Blueprint $table) {
$table->index('job_id');
$table->index('status');
$table->index('attempts');
});
How can I help you explore Laravel packages today?