Skip to content

Commit

Permalink
new: Filament
Browse files Browse the repository at this point in the history
Add filament to readme
  • Loading branch information
alexvenga committed Apr 6, 2023
1 parent af7dc30 commit 9e594c4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Easy laravel cached settings

Easy laravel cached settings (stored in MYSQL) package with MoonShine Laravel Admin GUI
Easy laravel cached settings (stored in MYSQL) package with MoonShine/Filament Laravel Admin GUI

[![Latest Version on Packagist](https://img.shields.io/packagist/v/visual-ideas/laravel-site-settings.svg?style=flat-square)](https://packagist.org/packages/visual-ideas/laravel-site-settings)
[![Total Downloads](https://img.shields.io/packagist/dt/visual-ideas/laravel-site-settings.svg?style=flat-square)](https://packagist.org/packages/visual-ideas/laravel-site-settings)
Expand Down Expand Up @@ -30,6 +30,9 @@ This is the contents of the published config file:
```php
return [
'cache_key' => env('LSS_CACHE_KEY','laravel_site_settings_data'),

// Set to true if you're using Filament (https://filamentphp.com/)
'filament' => false,
];
```

Expand Down Expand Up @@ -79,12 +82,27 @@ settings(['group.setting' => 'Value']);
settings(['setting' => 'Value']);
```

## Usage with MoonShine Laravel Admin
## Usage with MoonShine Laravel Admin panel

Please see [MoonShine](https://moonshine.cutcode.ru/)

You can use settings in your MoonShine admin panel, like this:

```php
//...
// Set to true if you're using Filament (https://filamentphp.com/)
'filament' => true,
//...
```

## Usage with Filament Laravel Admin panel

Please see [Filament](https://filamentphp.com)

You can use settings in your Filament admin panel!

Just change config file:

```php
MenuGroup::make('Settings', [
MenuItem::make(
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"PHP",
"MySQL",
"MoonShine",
"Filament",
"VisualIdeas"
],
"homepage": "https://github.com/visual-ideas/laravel-site-settings",
Expand Down

0 comments on commit 9e594c4

Please sign in to comment.