Skip to content

Commit

Permalink
add autoDiscoverModules() option and modules() option
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed May 10, 2024
1 parent c1d4dcc commit a0a8475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ make sure you allow packages scan on the `filament-plugins.php` config file

## Use Selected Module in your panel

you can use the selected module in your panel by use this code in your PanelProvider
you can use the selected module in your panel by using this code in your PanelProvider

```php
->plugin(\TomatoPHP\FilamentPlugins\FilamentPluginsPlugin::make()->modules([
Expand All @@ -140,7 +140,7 @@ so you will see only the selected modules in your panel

## Stop Auto Discover Module Resources

you can stop auto load module resources by use this code in your PanelProvider
you can stop auto-load module resources by using this code in your PanelProvider

```php
->plugin(\TomatoPHP\FilamentPlugins\FilamentPluginsPlugin::make()->autoDiscoverModules(false))
Expand Down

0 comments on commit a0a8475

Please sign in to comment.