https://github.com/raza9798/siteconfig
This Laravel package provides a simple and efficient way to manage site settings. You can store, retrieve, update, and delete configuration settings on a application
https://github.com/raza9798/siteconfig
laravel laravel-framework laravel11 php php83
Last synced: 8 months ago
JSON representation
This Laravel package provides a simple and efficient way to manage site settings. You can store, retrieve, update, and delete configuration settings on a application
- Host: GitHub
- URL: https://github.com/raza9798/siteconfig
- Owner: Raza9798
- License: mit
- Created: 2024-08-29T20:41:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-09T17:37:04.000Z (8 months ago)
- Last Synced: 2025-06-09T18:24:39.399Z (8 months ago)
- Topics: laravel, laravel-framework, laravel11, php, php83
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SiteConfig Laravel Package
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:
```shell
$ composer require raza9798/siteconfig
$ php artisan siteconfig:env-sync
```
# Usage
usage in the web base application
```php
# import facade
use Core\Siteconfig\Config;
# working with method
Config::save('phone', '123'); # store method
Config::show('phone'); # get method
Config::update('phone', '18487'); # update method
Config::delete('phone'); #delete method
Config::list(); # showing all variables as array
```