From ab265e7f6081d21745b84660e441dfdd81ba06d7 Mon Sep 17 00:00:00 2001 From: Fady Mondy Date: Wed, 27 Nov 2024 14:36:49 +0200 Subject: [PATCH] v2 --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 8594bf3..08793ed 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,28 @@ finally reigster the plugin on `/app/Providers/Filament/AdminPanelProvider.php` ->plugin(\TomatoPHP\FilamentLocations\FilamentLocationsPlugin::make()) ``` +## Disable Setting Hub + +to disable the setting hub you can use this method + +```php +->plugin(\TomatoPHP\FilamentLocations\FilamentLocationsPlugin::make()->settingsHub(false)) +``` + +## Disable Resources + +to disable the resources you can use this method + +```php +->plugin( +\TomatoPHP\FilamentLocations\FilamentLocationsPlugin::make() + ->countries(false) + ->languages(false) + ->currency(false) + ->locations(false) +) +``` + ## Use Database Driver to use database driver or if you don't have "sqlite" on your app, you can change the driver on config to "database" first publish the config