lartisan/ploi-dashboard
A Laravel dashboard for Ploi server management. See servers, sites, and deployments at a glance, monitor health, and run common Ploi actions from one clean panel—so you can manage hosting without leaving your Laravel app. Lightweight, configurable, and simple to install in any Laravel project.
composer require lartisan/ploi-dashboard (v2.1.1 is the first release with Filament 5 support — confirm your filament/filament constraint before upgrading, and stay on the 2.1.0 line if you're still on Filament 3/4).php artisan vendor:publish and pick the ploi-dashboard config tag) and set your API token in .env. Tokens are generated in your Ploi account settings and inherit that account's permissions, so use an account whose access matches what you want the panel to be able to do.app/Providers/Filament/*PanelProvider.php:
->plugin(PloiDashboardPlugin::make())
config:cache is the culprit 9 times out of 10.Gate/policy and enforce it via panel access control rather than relying on the plugin defaults.Cache::remember() with a short TTL (30–60s) and bust the cache after mutating actions (deploy, restart, env update).Http::fake(['ploi.io/*' => Http::response($fixture)]) around Livewire/Filament page tests so the suite never touches the real API. Assert on the actions (deploy triggered, restart called) rather than on rendered markup.->plugin(...)->when(fn () => app()->environment('production', 'staging')) style conditionals on the panel.fetch-metadata — CI-only, no runtime impact). Nothing here is breaking for existing Filament 3/4 users, but pin the plugin version deliberately in composer.json if you can't move Filament yet.php artisan config:clear (and re-cache in deploy). A stale cached token produces confusing 401s that look like permission problems.boot() methods or view composers.Http::fake in tests, Log::debug() around the client in dev) to see Ploi's actual error body — it's usually far more specific than what the UI shows.How can I help you explore Laravel packages today?