PHPackages                             fomvasss/laravel-variables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fomvasss/laravel-variables

ActiveComposer-package[Utility &amp; Helpers](/categories/utility)

fomvasss/laravel-variables
==========================

Dynamic management of variables/configs in Laravel app

5.9.0(1mo ago)32.4k↓42.9%MITPHPPHP ^7.4|^8.0

Since Dec 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/fomvasss/laravel-variables)[ Packagist](https://packagist.org/packages/fomvasss/laravel-variables)[ Docs](https://github.com/fomvasss/laravel-variables)[ RSS](/packages/fomvasss-laravel-variables/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (9)Versions (41)Used By (0)

Laravel Variables
=================

[](#laravel-variables)

[![Latest Stable Version](https://camo.githubusercontent.com/ebea2627f487a561a6eaaf4f6da7c215343ecb2e7bb3723631c6de304c5c36fc/68747470733a2f2f706f7365722e707567782e6f72672f666f6d76617373732f6c61726176656c2d7661726961626c65732f762f737461626c65)](https://packagist.org/packages/fomvasss/laravel-variables)[![Total Downloads](https://camo.githubusercontent.com/5cb969a275f7efa38143041a4fdb97226ce4a957745242da65dece77de5387a0/68747470733a2f2f706f7365722e707567782e6f72672f666f6d76617373732f6c61726176656c2d7661726961626c65732f646f776e6c6f616473)](https://packagist.org/packages/fomvasss/laravel-variables)[![License](https://camo.githubusercontent.com/ded325a542178eb8f75702afd46ac1ca60c057aba4692f4a0eaedd5733cb6cb6/68747470733a2f2f706f7365722e707567782e6f72672f666f6d76617373732f6c61726176656c2d7661726961626c65732f6c6963656e7365)](https://packagist.org/packages/fomvasss/laravel-variables)[![Quality Score](https://camo.githubusercontent.com/9102dc5a1a3e9dbe5c99798926e250455b5559f12dc3e3f6a339656edf4c0c15/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666f6d76617373732f6c61726176656c2d7661726961626c65732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/fomvasss/laravel-variables)

Dynamic management of variables/configs in Laravel app: creating and updating they in database, using cache and artisan commands, replace default Laravel configs, etc.

Installation
------------

[](#installation)

Run:

```
composer require fomvasss/laravel-variables
```

---

Publish the config, migration:

```
php artisan vendor:publish --provider="Fomvasss\Variable\VariableServiceProvider"
```

Run migrate:

```
php artisan migrate
```

---

Usage
-----

[](#usage)

### Facade `Variable`

[](#facade-variable)

```
