
This is a package that brings the Ploi dashboard to Filament admin panel. Provide the server id and the id of the site you wish to manage and unlock the Ploi features straight in your Filament admin panel.
You can install the package via composer:
composer require lartisan/ploi-dashboard
You can publish the config file with:
php artisan vendor:publish --tag="ploi-dashboard-config"
This is the contents of the published config file:
return [ 'server_id' => env('PLOI_SERVER_ID'), 'website_id' => env('PLOI_WEBSITE_ID'), 'services' => [ 'api_url' => env('PLOI_API_URL', 'https://ploi.io/api'), 'api_key' => env('PLOI_API_KEY'), ], 'polling' => [ 'interval' => env('PLOI_POLLING_INTERVAL', '10s'), ],];
Add the plugin to you Panel Provide, example:
class AdminPanelProvider extends PanelProvider{ public function panel(Panel $panel): Panel { return $panel ... ->plugins([ new \Lartisan\PloiDashboard\PloiDashboardPlugin, ]) ; }}
and provide the necessary environment variables in your .env file:
PLOI_API_KEY=your-api-keyPLOI_SERVER_ID=your-server-idPLOI_WEBSITE_ID=your-website-id
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
Cristian is a full-stack developer specializing in Laravel and the TALL stack (Tailwind CSS, AlpineJS, Laravel, and Livewire) since 2014. Based in Romania, Cristian is passionate about creating efficient, user-focused web experiences, leveraging modern tools like Filament to build dynamic and interactive applications. With a strong emphasis on clean code and streamlined interfaces, he transforms ideas into robust, elegant solutions. You can learn more about Cristian and his work at Filament Components.