Download the PHP package miladev/lara-setting without Composer
On this page you can find all versions of the php package miladev/lara-setting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download miladev/lara-setting
More information about miladev/lara-setting
Files in miladev/lara-setting
Package lara-setting
Short Description A laravel package for managing project settings.
License MIT
Homepage https://github.com/miladev95/lara-setting
Informations about the package lara-setting
Laravel Settings
A laravel package for managing project settings.
We always need to use a settings system in our application. This package will help you to create the system easily.
The package will create a table in database named settings
with key, value and autoload column. You can specify which column should be loaded in boot time by setting autoload
column to true.
Installation
You can install the package via composer:
If you are using Laravel Package Auto-Discovery, you don't need you to manually add the ServiceProvider.
Without auto-discovery:
If you don't use auto-discovery, add the below ServiceProvider to the $providers
array in config/app.php
file.
Then add the Setting
facade in $aliases
array in config/app.php
file.
Then you can run migration command to create database table.
You can also publish the migration file and modify as you needs.
Usage
Roadmap
- Runtime result cache to reduce duplicate query (release in v0.2.0).
- File/Redis Cache Support.
- Multiple driver support. Such as- file, redis etc.
If you want to contribute, open a pull request by following Laravel contribution guide.
License
The MIT License (MIT). Please see License File for more information.