PHPackages                             step2dev/lazy-setting - 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. step2dev/lazy-setting

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

step2dev/lazy-setting
=====================

This is my package lazy-setting

0446[3 PRs](https://github.com/step2dev/lazy-setting/pulls)PHPCI passing

Since Nov 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/step2dev/lazy-setting)[ Packagist](https://packagist.org/packages/step2dev/lazy-setting)[ RSS](/packages/step2dev-lazy-setting/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Lazy setting
============

[](#lazy-setting)

[![Latest Version on Packagist](https://camo.githubusercontent.com/30bfd444c8552810ab5f07c5e997c557c04437c49cd212fb53d3b54974c3f7fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746570326465762f6c617a792d73657474696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/step2dev/lazy-setting)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e644607a8acb3ba907348c85d39030a5424f9d8ab3ed5038f821d25121eb36be/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73746570326465762f6c617a792d73657474696e672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/step2dev/lazy-setting/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1ba6eba17119c1665faf51b382d34c6765612517919d966d36888348be56b848/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73746570326465762f6c617a792d73657474696e672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/step2dev/lazy-setting/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d6e2a1f7f526d97af1d1455fb9cd6aa8a3428bb46280c7443106831fb3367745/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746570326465762f6c617a792d73657474696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/step2dev/lazy-setting)

This package provides a flexible way to manage application settings in Laravel. It includes caching, input validation, and a simple API with support for static methods via a facade.

Features
--------

[](#features)

- Easily get and set application settings.
- Support for caching settings to improve performance.
- Input validation for settings.
- Simple API with static method support through a facade.

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

[](#installation)

You can install the package via composer:

```
composer require step2dev/lazy-setting
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="lazy-setting-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="lazy-setting-config"
```

Usage
-----

[](#usage)

```
$lazySetting = new Step2Dev\LazySetting();
echo $lazySetting->echoPhrase('Hello, Step2Dev!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [CrazyBoy49z](https://github.com/CrazyBoy49z)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance59

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b91116cc6cf93ad52f0fa6096fcefa999f72ab67e74b3edfd27e2c3c1e1cd9b9?d=identicon)[CrazyBoy49z](/maintainers/CrazyBoy49z)

---

Top Contributors

[![CrazyBoy49z](https://avatars.githubusercontent.com/u/3448603?v=4)](https://github.com/CrazyBoy49z "CrazyBoy49z (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

### Embed Badge

![Health badge](/badges/step2dev-lazy-setting/health.svg)

```
[![Health](https://phpackages.com/badges/step2dev-lazy-setting/health.svg)](https://phpackages.com/packages/step2dev-lazy-setting)
```

###  Alternatives

[ericmann/sessionz

PHP Session Manager Interface

585.0k2](/packages/ericmann-sessionz)

PHPackages © 2026

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