Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tabuna/settings
Simple key-value storage package for @Laravel
https://github.com/tabuna/settings
framework laravel settings storage
Last synced: 10 days ago
JSON representation
Simple key-value storage package for @Laravel
- Host: GitHub
- URL: https://github.com/tabuna/settings
- Owner: tabuna
- License: mit
- Created: 2015-12-02T21:07:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T01:07:42.000Z (over 1 year ago)
- Last Synced: 2024-10-14T04:24:07.815Z (24 days ago)
- Topics: framework, laravel, settings, storage
- Language: PHP
- Homepage:
- Size: 62.5 KB
- Stars: 14
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Settings
![Unit tests](https://github.com/legacy-orchid/settings/workflows/Unit%20tests/badge.svg)
[![Latest Stable Version](https://poser.pugx.org/orchid/settings/v/stable)](https://packagist.org/packages/orchid/settings)
[![Total Downloads](https://poser.pugx.org/orchid/settings/downloads)](https://packagist.org/packages/orchid/settings)
[![License](https://poser.pugx.org/orchid/settings/license)](https://packagist.org/packages/orchid/settings)The simplest persistent data store using a key to access a value.
## Installation
Run this at the command line:
```php
$ composer require orchid/settings
```After do the migration:
```php
$ php artisan migrate
```## Usage
To add a new value to the repository you need to use:
```php
**Note.** When transferring keys as an array, subsequent updates of values will not automatically flush the cache.To delete a value:
```php