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 298
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2024-06-07 02:51:22 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!