2017 © Pedro Peláez
 

library laravel-settings

Simple persisting settings package for a Laravel application

image

pixeo/laravel-settings

Simple persisting settings package for a Laravel application

  • Wednesday, June 20, 2018
  • by nckg
  • Repository
  • 2 Watchers
  • 2 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel settings

Latest Version on Packagist Build Status Total Downloads, (*1)

Persist your settings in the database, (*2)

Installation

You can install the package via composer:, (*3)

composer require pixeo/laravel-settings

The package will automatically register itself., (*4)

You can publish the config-file with:, (*5)

php artisan vendor:publish --provider="Pixeo\Settings\SettingServiceProvider" --tag="config", (*6)

This is the contents of the published config file:, (*7)


<?php return [ /* * The model that is used to fetch the settings */ 'model' => Pixeo\Settings\Setting::class, /** * The cache key the package will use */ 'cache_key' => 'pixeo.settings', ];

Usage

``` php \Pixeo\Settings\Setting::create(['key' => 'foo', 'value' => 'bar']); echo setting('foo'); // => bar, (*8)


### Testing ``` bash composer test

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

20/06 2018

dev-master

9999999-dev https://github.com/pixeo/laravel-settings

Simple persisting settings package for a Laravel application

  Sources   Download

MIT

The Requires

 

The Development Requires

settings laravel-settings pixeo

20/06 2018

1.1.1

1.1.1.0 https://github.com/pixeo/laravel-settings

Simple persisting settings package for a Laravel application

  Sources   Download

MIT

The Requires

 

The Development Requires

settings laravel-settings pixeo

12/06 2018

1.1.0

1.1.0.0 https://github.com/pixeo/laravel-settings

Simple persisting settings package for a Laravel application

  Sources   Download

MIT

The Requires

 

The Development Requires

settings laravel-settings pixeo

12/06 2018

1.0.0

1.0.0.0 https://github.com/pixeo/laravel-settings

Simple persisting settings package for a Laravel application

  Sources   Download

MIT

The Requires

 

The Development Requires

settings laravel-settings pixeo