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

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

newnetcms/setting
=================

Setting

v0.0.1(2y ago)02PHP

Since Jun 28Pushed 9mo ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Newnet Setting Package
======================

[](#newnet-setting-package)

Getting Started
---------------

[](#getting-started)

### 1. Install

[](#1-install)

Run the following command:

```
composer require newnet/setting
```

### 2. Database

[](#2-database)

Create table for database driver:

```
php artisan migrate
```

Usage
-----

[](#usage)

You can either use the helper method like `setting('foo')` or the facade `Setting::get('foo')`

### Facade

[](#facade)

```
Setting::get('foo', 'default');
Setting::set('foo', 'bar');
Setting::forget('foo');
```

### Helper

[](#helper)

```
setting('foo', 'default');
setting(['foo' => 'bar']);
setting()->get('foo', 'default');
setting()->set('foo', 'bar');
setting()->forget('foo');
```

### Blade Directive

[](#blade-directive)

You can get the settings directly in your blade templates using the helper method or the blade directive like `@setting('foo')`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance41

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1056d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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