intelrx / sitesettings
A Laravel package for managing site configurations.
Installs: 8 156
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ^8.2
This package is auto-updated.
Last update: 2025-05-12 11:12:32 UTC
README
This Laravel package provides a simple and efficient way to manage site settings / enviromental variables via database. You can store, retrieve, update, and delete configuration settings on a application using the SiteConfig class.
Installation
To install the package, add it to your Laravel project using Composer:
$ composer require raza9798/siteconfig $ php artisan siteconig:env-sync
Usage
usage in the web base application
SiteConfig::store('phone', '123'); # store method SiteConfig::get('phone'); # get method SiteConfig::update('phone', '18487'); # update method SiteConfig::delete('phone'); #delete method SiteConfig::list(); # showing all variables as array