alive2212/laravel-setting-service

v1.0.0 2018-07-18 18:17 UTC

This package is auto-updated.

Last update: 2024-10-17 02:57:20 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require alive2212/laravelsettingservice

Usage

To store setting metas

$setting->store([
    'test.controller.app' => '1',
],auth()->id(),null,['operators']);

To get setting metas

return $setting
    ->setStartDateTime(Carbon::now()->addYears(-1))
    ->setScope('operator')
    ->getArray();

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.