raza9798 / siteconfig
A Laravel package for managing site configurations.
3.0.0
2025-05-12 11:02 UTC
Requires
- php: ^8.2
This package is auto-updated.
Last update: 2025-05-12 11:13:33 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