Skip to content

Commit

Permalink
Merge pull request #42 from qcod/l9support
Browse files Browse the repository at this point in the history
L9 Support
  • Loading branch information
saqueib authored Jan 31, 2022
2 parents 0879f03 + 0639421 commit e4da6f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ If your app needs different url to access the settings page you can change from

### Use Group Setting

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
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

```php
return [
Expand All @@ -156,7 +156,9 @@ return [
}
```

In this case you can have different settings for each user.
In this case you can have different settings for each user.

🔥 You can also set settings group at runtime using `app('app-settings')->setStorageGroup('my-storage-group')`.

### Use without UI

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
}
],
"require": {
"php": "^7.2",
"laravel/framework": "~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
"qcod/laravel-settings": "~1.0"
"php": "^7.3|^8.0",
"laravel/framework": "^6.0|^7.0|^8.0|^9.0",
"qcod/laravel-settings": "^1.1"
},
"require-dev": {
"orchestra/testbench": "3.8.*|4.*|5.*",
"orchestra/testbench": "4.*|5.*|6.*",
"mockery/mockery": "^0.9.4 || ~1.0",
"phpunit/phpunit": "^8.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Setting/AppSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function setStorageGroup($groupName)
}

/**
* Get al the settings from storage
* Get all the settings from storage
*
* @param bool $fresh
* @return \Illuminate\Support\Collection
Expand Down

0 comments on commit e4da6f5

Please sign in to comment.