2017 © Pedro Peláez
 

library database-config

Overrides the config facade to provide a dual-stack (Database + Filesystem) config system. Checks on the database first and then on the file system

image

vynatu/database-config

Overrides the config facade to provide a dual-stack (Database + Filesystem) config system. Checks on the database first and then on the file system

  • Thursday, November 9, 2017
  • by DeadCode
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Introduction

This package lets you save some config items dynamically into the database. It is useful when you want to make an interface to let your users change mail settings, or other types of configuration on the fly., (*1)

Installation

composer require vynatu/database-config

Then, add the service provider to app.php:, (*2)

<?php 

'providers' => [
    ...
    Vynatu\DatabaseConfig\ConfigServiceProvider::class,
]
php artisan migrate

Vynatu/Database-Config does not require an alias. It replaces the default config() or \Config::class bindings., (*3)

Usage

<?php

// To permanently save items in the database
config()->set('mail.driver', 'mailgun', true); // The last argument sets wether or not to make this change permanent.

The Versions

09/11 2017

dev-master

9999999-dev

Overrides the config facade to provide a dual-stack (Database + Filesystem) config system. Checks on the database first and then on the file system

  Sources   Download

MIT

The Requires

 

by Felix Lebel

laravel php menu

25/04 2017

1.0

1.0.0.0

Overrides the config facade to provide a dual-stack (Database + Filesystem) config system. Checks on the database first and then on the file system

  Sources   Download

MIT

The Requires

 

by Felix Lebel

laravel php menu