Skip to content

Commit e4da6f5

Browse files
authored
Merge pull request #42 from qcod/l9support
L9 Support
2 parents 0879f03 + 0639421 commit e4da6f5

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ If your app needs different url to access the settings page you can change from
141141

142142
### Use Group Setting
143143

144-
Many time you want to store settings in a group. With version `1.1` you can define a group name from your `config/app_settings.php`. You have a closer to return the name of group as string
144+
Many time you want to store settings in a group. With version `1.1` you can define a group name from your `config/app_settings.php`. You have a closer or a class namespace to return the name of group as string
145145

146146
```php
147147
return [
@@ -156,7 +156,9 @@ return [
156156
}
157157
```
158158

159-
In this case you can have different settings for each user.
159+
In this case you can have different settings for each user.
160+
161+
🔥 You can also set settings group at runtime using `app('app-settings')->setStorageGroup('my-storage-group')`.
160162

161163
### Use without UI
162164

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.2",
25-
"laravel/framework": "~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
26-
"qcod/laravel-settings": "~1.0"
24+
"php": "^7.3|^8.0",
25+
"laravel/framework": "^6.0|^7.0|^8.0|^9.0",
26+
"qcod/laravel-settings": "^1.1"
2727
},
2828
"require-dev": {
29-
"orchestra/testbench": "3.8.*|4.*|5.*",
29+
"orchestra/testbench": "4.*|5.*|6.*",
3030
"mockery/mockery": "^0.9.4 || ~1.0",
3131
"phpunit/phpunit": "^8.5"
3232
},

src/Setting/AppSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function setStorageGroup($groupName)
5252
}
5353

5454
/**
55-
* Get al the settings from storage
55+
* Get all the settings from storage
5656
*
5757
* @param bool $fresh
5858
* @return \Illuminate\Support\Collection

0 commit comments

Comments
 (0)