PHPackages                             anisaronno/laravel-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. anisaronno/laravel-settings

ActiveLibrary

anisaronno/laravel-settings
===========================

A Laravel package for managing application settings, similar to WordPress options.

1.2.0(2y ago)03731MITPHPPHP ^7.4|^8.0

Since Oct 11Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (3)Versions (13)Used By (1)

Laravel Settings Package
========================

[](#laravel-settings-package)

- Laravel settings control as like as WordPress options

Table of Contents
-----------------

[](#table-of-contents)

- [Laravel Settings Package](#laravel-settings-package)
    - [Table of Contents](#table-of-contents)
    - [Introduction](#introduction)
    - [Installation](#installation)
        - [Publish Migration, Factory, Config, and Seeder](#publish-migration-factory-config-and-seeder)
        - [Run Migration](#run-migration)
        - [Run Seeder](#run-seeder)
    - [Usage](#usage)
        - [Check if a Key Exists in Database](#check-if-a-key-exists-in-database)
        - [Get Settings Field](#get-settings-field)
        - [Get All Settings Fields](#get-all-settings-fields)
        - [Set Settings](#set-settings)
        - [Update Settings](#update-settings)
        - [Update or Create Settings](#update-or-create-settings)
        - [Delete Settings](#delete-settings)
    - [Contribution Guide](#contribution-guide)
    - [License](#license)

Introduction
------------

[](#introduction)

The Laravel Settings package simplifies the management of application settings in your Laravel project. This README provides installation instructions, usage examples, and additional information.

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

[](#installation)

To get started, install the package using Composer:

```
composer require anisaronno/laravel-settings
```

### Publish Migration, Factory, Config, and Seeder

[](#publish-migration-factory-config-and-seeder)

You need to publish migration files, factories, configuration files, and a seeder:

```
php artisan vendor:publish --tag=settings-migration
```

### Run Migration

[](#run-migration)

Apply the migrations to set up the settings table:

```
php artisan migrate
```

### Run Seeder

[](#run-seeder)

Seed the settings table with initial data:

```
php artisan db:seed --class=LaravelSettingsSeeder::class
```

Usage
-----

[](#usage)

The package provides methods for managing settings. Here are the available functions:

### Check if a Key Exists in Database

[](#check-if-a-key-exists-in-database)

You can use the `hasSettings` method to check if a key exists in the database:

```
hasSettings(string $key);
```

### Get Settings Field

[](#get-settings-field)

Retrieve a specific setting using its key:

```
getSettings(string $key);
```

### Get All Settings Fields

[](#get-all-settings-fields)

Fetch all settings fields:

```
getAllSettings();
```

### Set Settings

[](#set-settings)

Create or update a setting:

```
setSettings(string $key, string $value);
```

### Update Settings

[](#update-settings)

Update an existing setting:

```
updateSettings(string $key, string $value);
```

### Update or Create Settings

[](#update-or-create-settings)

Update or Create setting:

```
upsertSettings(string $key, string $value);
```

### Delete Settings

[](#delete-settings)

Update an existing setting:

```
deleteSettings(string $key);
```

Contribution Guide
------------------

[](#contribution-guide)

Please follow our [Contribution Guide](https://github.com/anisAronno/multipurpose-admin-panel-boilerplate/blob/develop/CONTRIBUTING.md) if you'd like to contribute to this package.

License
-------

[](#license)

This package is open-source software licensed under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Every ~17 days

Recently: every ~27 days

Total

12

Last Release

754d ago

Major Versions

0.1.6 → 1.0.02023-12-28

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

application-settingslaravel-optionslaravel-settingslaravelwordpresslaravel-settingswedevsapplication-settings

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/anisaronno-laravel-settings/health.svg)

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[madeitbelgium/wordpress-php-sdk

WordPress Laravel PHP SDK

4422.9k1](/packages/madeitbelgium-wordpress-php-sdk)[ammardev/laravel-wp-hash-driver

Supports Wordpress passwords hashing and checking in Laravel's Hash facade.

169.3k](/packages/ammardev-laravel-wp-hash-driver)

PHPackages © 2026

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