Download the PHP package andresilva/filament-modules without Composer
On this page you can find all versions of the php package andresilva/filament-modules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andresilva/filament-modules
More information about andresilva/filament-modules
Files in andresilva/filament-modules
Package filament-modules
Short Description Support for nwidart/laravel-modules in filamentphp
License MIT
Homepage https://github.com/coolsam/modules
Informations about the package filament-modules
Modules is a FilamentPHP Plugin to enable easy integration with nwidart/laravel-modules
NB: These docs are for v3, which only supports Filament 3. If you are using Filament v2, see the documentation here to get started.
Installation
Requirements:
- Filament >= 3
- PHP >= 8.1
- Laravel >= 9.0
- Livewire >= 3.0
- nwidart/laravel-modules >=10.0
Installation
- Ensure you have insalled and configured [Laravel Modules (follow these instructions)]()
- Ensure you have installed and configured Filamentphp (follow these instructions)
- You can now install the package via composer:
Usage
In this guide we are going to use the Blog module
as an example
Create your laravel module:
If the module that you want to work on does not exist, create it using nwidart/laravel-modules
Generate a new Panel inside your module
If none of the two arguments are passed, the command will ask for each of them interactively.
In this example, if the Panel id passed is admin
and the module is blog, the command will generate a panel with
id blog::admin
. This ID should be used in the next step when generating resources, pages and widgets.
Generate your resources, pages and widgets as usual, selecting the panel you just created above.
From here on, use filament as you would normally to generate resources
, Pages
and Widgets
. Be sure to specify the --panel
option as the ID generated earlier.
If the --panel
option is not passed, the command will ask for it interactively.
All Done! For each of the panels generated, you can navigate to your module-path/panel-path
e.g blog/admin
to acess your panel and links to resources and pages.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Sam Maosa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-modules with dependencies
codeat3/blade-system-uicons Version ^1.6
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^9.1|^10.0|^11.0
filament/filament Version ^3.0.0-beta
nwidart/laravel-modules Version ^10.0