This package serves as a Filament plugin template for plugins developed by DataLinx for Eclipse, our web app based on Filament. It is also a reference of how such a package should be configured.
The template is opinionated — it's based on our tech stack, which includes JetBrains PhpStorm.
This template works on and expands our PHP package template.
- PHP 8.3 / 8.4 / 8.5
- Laravel 11 / 12
- Filament 5
See composer.json for details.
- Download the plugin with composer:
composer require eclipsephp/plugin-template- Add it to your panel's plugins:
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
$panel
->default()
->id('admin')
->path('admin')
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->plugins([
\Eclipse\PluginTemplate\PluginTemplate::make(),
]);
return $panel;
}
}- Run migrations
php artisan migrateIf you have some suggestions on how to make this package better, please open an issue or even better, submit a pull request.
Should you want to contribute, please see the development guidelines in the DataLinx PHP package template.
- All development is subject to our PHP package development guidelines.
- Our Filament app development docs will also be helpful.
- Any PRs will generally need to adhere to these before being merged.
See here.
- Clone the git repo
- Start the Lando container
lando start
- Install dependencies (this also runs the setup composer script)
lando composer install
- You can now develop and run tests. Happy coding 😉
This package ships with a minimal Testbench Workbench, so you can run the Filament UI without a separate app:
-
Clone the repository
-
Start the container
lando start
-
Open the admin panel at
https://eclipse-plugin-template.lndo.site/admin
No login required – you'll be automatically signed in as a test user with full permissions.
Notes:
- The container serves
workbench/publicas the webroot. - Use
lando testforpackage:testandlando testbenchfor other Testbench commands. - No Telescope, websockets or health checks are enabled to keep the setup minimal.
All notable changes to this project are automatically documented in the CHANGELOG.md file using the release workflow, based on the release-please GitHub action.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For all this to work, commit messages must follow the Conventional commits specification, which is also enforced by a Git hook.