crivion/options

A way to get_option($option_name, $default = null) and set_option($option_name, $option_value) similar to wordpress for Laravel.

Installs: 1 469

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/crivion/options

dev-master 2020-01-06 16:27 UTC

This package is auto-updated.

Last update: 2025-10-07 05:50:15 UTC


README

This useful Laravel Package allows you to have get_option() & update_option() wordpress style functions.

How to use:

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

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

Set/Update an option

Options::update_option( $option_name, $option_value )

Delete an option

Options::delete_option( $option_name )

How to install:

composer require crivion/options

php artisan migrate

That's it!