Vapor UI Dashboard Package
Published on by Paul Redmond
Vapor UI is an open-source dashboard for Laravel apps running in Vapor. It provides a beautiful dashboard within your Vapor powered application that allows you to monitor your application’s logs and failed queue jobs.
Today, the @laravelphp team is proud to introduce you to our new open-source package: Vapor UI.
It provides a beautiful dashboard within your Vapor powered application that allows you to monitor your application's logs and failed queue jobs.
— NUNO MADURO (@enunomaduro) September 3, 2020
Application logs in Vapor are sent to CloudWatch by default, and you can now search them via the Vapor UI. You can further filter by log type, which includes HTTP, CLI, and Queue logs.
Vapor UI provides a failed job page where you can view a list of failed jobs with details about the failure. From the Vapor UI dashboard, you can retry or delete a job.
The Vapor UI dashboard is accessible via /vapor-ui
, and you can lock down access using custom authorization gate logic in package’s VaporUiServiceProvider
protected function gate(){ Gate::define('viewVaporUI', function ($user = null) { return in_array(optional($user)->email, [ // ]); });}
Learn More
Nuno published an article over on the Laravel blog outlining announcing this package, including screenshots and an overview of the dashboard’s functionality. The code behind this dashboard is open-sourced and available on GitHub at laravel/vapor-ui, and you can find the documentation here.