Looking to hire Laravel developers? Try LaraJobs

laravel-settings maintained by moh6mmad

Description
This package allows you to add settings to your Laravel project
Last update
2022/08/18 11:49 (dev-master)
License
Downloads
3 647

Comments
comments powered by Disqus

Laravel Settings

This package allows you to store some global settings into your app database and load them once you need them in entire app globally.

Installation

Install my-project with npm

  composer require moh6mmad/laravel-settings

Documentation

You may call set and get functions in several ways. Settings are stored in database as following: settings_group and name and value You need to call both settings_group and name to access to the value

Usage

Call it via config

config('settings.ui.template.header_title')

Call it via its helper

setting('ui.template.header_title')

or set a new value for this Call it via its helper

setting('ui.template.header_title', 'Laravel Setting App')

Feedback

If you have any feedback, please reach out to us at mamm6d@gmail.com

License

MIT