PHPackages                             crivion/options - 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. crivion/options

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

crivion/options
===============

A way to get\_option($option\_name, $default = null) and set\_option($option\_name, $option\_value) similar to wordpress for Laravel.

41.5k↓90.9%PHP

Since Jan 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/crivion/options)[ Packagist](https://packagist.org/packages/crivion/options)[ RSS](/packages/crivion-options/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Options
===============

[](#laravel-options)

This useful Laravel Package allows you to have **get\_option()** &amp; **update\_option()** wordpress style functions.

How to use:
-----------

[](#how-to-use)

### Get an option ( optionally return a default value if not found )

[](#get-an-option--optionally-return-a-default-value-if-not-found-)

`Options::get_option( $option_name, $option_value = null )`

### Set/Update an option

[](#setupdate-an-option)

`Options::update_option( $option_name, $option_value )`

### Delete an option

[](#delete-an-option)

`Options::delete_option( $option_name )`

How to install:
---------------

[](#how-to-install)

`composer require crivion/options`

`php artisan migrate`

That's it!

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15253384?v=4)[Crivion](/maintainers/crivion)[@crivion](https://github.com/crivion)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/crivion-options/health.svg)

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

PHPackages © 2026

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