Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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