PHPackages                             jano-may-ball/settings - 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. jano-may-ball/settings

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jano-may-ball/settings
======================

Persistent settings in Laravel; fork of anlutro/l4-settings

v1.1.1(7y ago)0647AGPL-3.0PHPPHP &gt;=5.6.4

Since Apr 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jano-may-ball/settings)[ Packagist](https://packagist.org/packages/jano-may-ball/settings)[ RSS](/packages/jano-may-ball-settings/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Laravel Settings
================

[](#laravel-settings)

[![Build Status](https://camo.githubusercontent.com/5b3204b833e3b3a2d4abacd905e79b1089890a1fc8dc455eb2ce6bc1b18d2a53/68747470733a2f2f6170692e7472617669732d63692e6f72672f616e6c7574726f2f6c61726176656c2d73657474696e67732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/anlutro/laravel-settings)[![Latest Stable Version](https://camo.githubusercontent.com/9c6b2f31a8f290323c68856c148055e9b61868c132ee8e384a775fb2c2b8e7f7/68747470733a2f2f706f7365722e707567782e6f72672f616e6c7574726f2f6c342d73657474696e67732f762f737461626c652e737667)](https://github.com/anlutro/laravel-settings/releases)[![License](https://camo.githubusercontent.com/32fe9b78a4b2edce241127c192a13b6f9707dde57aad4c815da704249e92c2d6/68747470733a2f2f706f7365722e707567782e6f72672f616e6c7574726f2f6c342d73657474696e67732f6c6963656e73652e737667)](http://opensource.org/licenses/MIT)

Persistent, application-wide settings for Laravel. Fork of [anlutro/laravel-settings](https://github.com/anlutro/laravel-settings). Now supports use of .hjson files.

Despite the package name, this package works with Laravel 5.x!

Common problems
---------------

[](#common-problems)

- Class not found errors: [anlutro#38](https://github.com/anlutro/laravel-settings/issues/38)

Installation - Laravel &gt;= 5.5
--------------------------------

[](#installation---laravel--55)

1. `composer require anlutro/l4-settings`
2. Publish the config file by running `php artisan vendor:publish --provider="anlutro\LaravelSettings\ServiceProvider" --tag="config"`. The config file will give you control over which storage engine to use as well as some storage-specific settings.

Installation - Laravel &lt; 5.5
-------------------------------

[](#installation---laravel--55-1)

1. `composer require anlutro/l4-settings`
2. Add `anlutro\LaravelSettings\ServiceProvider` to the array of providers in `config/app.php`.
3. Publish the config file by running `php artisan config:publish anlutro/l4-settings` (Laravel 4.x) or `php artisan vendor:publish` (Laravel 5.x). The config file will give you control over which storage engine to use as well as some storage-specific settings.
4. Optional: add `'Setting' => 'anlutro\LaravelSettings\Facade'` to the array of aliases in `config/app.php`.

Usage
-----

[](#usage)

You can either access the setting store via its facade or inject it by type-hinting towards the abstract class `anlutro\LaravelSettings\SettingStore`.

```
