From a0a84758181d3ca824079e72c83842991fe0b51d Mon Sep 17 00:00:00 2001 From: Fady Mondy Date: Fri, 10 May 2024 03:41:03 +0300 Subject: [PATCH] add autoDiscoverModules() option and modules() option --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 827507a..378028c 100644 --- a/README.md +++ b/README.md @@ -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([ @@ -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))