PHPackages                             dannehl/user-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. dannehl/user-settings

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

dannehl/user-settings
=====================

Simple file based user settings for laravel

0.1(10y ago)028MITPHPPHP &gt;=5.5.9

Since Aug 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dannehl/user-settings)[ Packagist](https://packagist.org/packages/dannehl/user-settings)[ Docs](https://github.com/dannehl/user-settings)[ RSS](/packages/dannehl-user-settings/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Simple file based user settings (for Laravel)
=============================================

[](#simple-file-based-user-settings-for-laravel)

\##Installation

Add `"dannehl/user-settings"` to composer.

Add the service provider:

```
Dannehl\UserSettings\UserSettingsServiceProvider::class,
```

Add the Facade:

```
'UserSettings' => Dannehl\UserSettings\Facade\UserSettings::class,
```

\###Storage The settings are stored as key value pairs in a file for each user. Make sure the folder /storage/userconf exists. Filenames are generated from the user id, so this will only work for authenticated users. The user id is taken from Auth::user()-&gt;id;

\##Usage

```
// Store a value
\UserSettings::set('My_Name','John');

// Get a value
echo \UserSettings::get('My_Name');  // -> John
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ae7d9bf3751f9fb36a855a25cee285899b6632008a8389c9483235640e85ebb?d=identicon)[dannehl](/maintainers/dannehl)

---

Top Contributors

[![dannehl](https://avatars.githubusercontent.com/u/5147962?v=4)](https://github.com/dannehl "dannehl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dannehl-user-settings/health.svg)

```
[![Health](https://phpackages.com/badges/dannehl-user-settings/health.svg)](https://phpackages.com/packages/dannehl-user-settings)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
