Download the PHP package ibrostudio/filament-plugin-tools without Composer
On this page you can find all versions of the php package ibrostudio/filament-plugin-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ibrostudio/filament-plugin-tools
More information about ibrostudio/filament-plugin-tools
Files in ibrostudio/filament-plugin-tools
Package filament-plugin-tools
Short Description This is my package filament-plugin-tools
License MIT
Homepage https://github.com/ibrostudio/filament-plugin-tools
Informations about the package filament-plugin-tools
Filament Plugin Tools
This package is for Filament plugin development.
It simply converts the native Filament commands to a plugin context to generate resources, pages and widgets.
Note
To get started easily, we released a Filament version of the Spatie's package-skeleton-laravel, including this tools and others goodies. Check it out here : filament-plugin-skeleton
Requirements
Let's say you are developing a plugin called PluginName. Files are located in a dedicated directory, called packages. You have locally imported the plugin in a Laravel app for development:
In composer.json:
Then:
Auto-registering
This package can auto-register resources, pages and widgets in your plugin service provider.
For that, ensure that:
-
You added your service provider's fully qualified class name to the extra.laravel.providers array in your plugin's composer.json file:
- Add the properties , and in the plugin's service provider file:
Installation
Install the filament-plugin-tools package in your Laravel app via composer:
Usage
Resources
The options work as with the original commands:
Relation managers
All relations managers are availables:
Pages
Options work too:
Widgets
With resource option:
Testing
Credits
- iBroStudio
- The Filament team, thanks to them for their work
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-plugin-tools with dependencies
doctrine/dbal Version ^3.3
filament/filament Version ^2.12
illuminate/contracts Version ^9.0
spatie/laravel-package-tools Version ^1.9.2