PHPackages                             azaharizaman/nexus-laravel-setting-adapter - 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. azaharizaman/nexus-laravel-setting-adapter

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

azaharizaman/nexus-laravel-setting-adapter
==========================================

Laravel adapter for Setting package with configuration management

v0.1.0-alpha1(2mo ago)02MITPHPPHP ^8.3

Since May 5Pushed 2mo agoCompare

[ Source](https://github.com/azaharizaman/nexus-laravel-setting-adapter)[ Packagist](https://packagist.org/packages/azaharizaman/nexus-laravel-setting-adapter)[ RSS](/packages/azaharizaman-nexus-laravel-setting-adapter/feed)WikiDiscussions main Synced 1w ago

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

Nexus Laravel Setting Adapter
=============================

[](#nexus-laravel-setting-adapter)

This adapter provides Laravel-specific implementations for the Setting package, enabling configuration management in Laravel applications.

Purpose
-------

[](#purpose)

The Setting package is an atomic package that must remain independently publishable. This adapter layer provides the concrete implementations that integrate Setting with the Laravel framework:

- **Cache integration** - Uses Laravel's cache system
- **Authorization integration** - Provides SettingsAuthorizerAdapter for integrating with Laravel's authorization system

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

[](#installation)

```
composer require azaharizaman/nexus-laravel-setting-adapter
```

Adapters Provided
-----------------

[](#adapters-provided)

### SettingRepositoryAdapter

[](#settingrepositoryadapter)

Implements `Nexus\Setting\Contracts\SettingRepositoryInterface` using cache-only storage.

> **TODO:** Database persistence is not yet implemented. Currently delegates to SettingsCacheAdapter.

### SettingsCacheAdapter

[](#settingscacheadapter)

Implements `Nexus\Setting\Contracts\SettingsCacheInterface` by using Laravel's cache system.

### SettingsAuthorizerAdapter

[](#settingsauthorizeradapter)

Implements `Nexus\Setting\Contracts\SettingsAuthorizerInterface` by using Laravel's authorization system.

Service Provider
----------------

[](#service-provider)

The `SettingAdapterServiceProvider` automatically binds the Setting interfaces to their adapter implementations when the Laravel application boots.

Architecture
------------

[](#architecture)

This follows the Nexus Three-Layer Architecture:

1. **Atomic Layer** (`packages/Setting`) - Pure business logic, no external dependencies
2. **Adapter Layer** (`adapters/Laravel/Setting`) - Framework-specific implementations
3. **Application Layer** - Uses adapters through interfaces

Dependencies
------------

[](#dependencies)

- `azaharizaman/nexus-setting` - The atomic Setting package
- `illuminate/support` - Laravel framework components
- `illuminate/database` - Laravel database components
- `psr/log` - PSR-3 logging interface

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance84

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

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

81d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/117408?v=4)[Azahari Zaman](/maintainers/azaharizaman)[@azaharizaman](https://github.com/azaharizaman)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/azaharizaman-nexus-laravel-setting-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/azaharizaman-nexus-laravel-setting-adapter/health.svg)](https://phpackages.com/packages/azaharizaman-nexus-laravel-setting-adapter)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M221](/packages/illuminate-broadcasting)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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