elbowspaceuk/laravel-settings is a Laravel package for settings for laravel.
It currently has 0 GitHub stars and 2.076 downloads on Packagist (latest version v1.0.4).
Install it with composer require elbowspaceuk/laravel-settings.
Discover more Laravel packages by elbowspaceuk
or browse all Laravel packages to compare alternatives.
Last updated
Powerful and feature rich settings for Laravel.
Laravel Settings lets you persist strongly typed settings within your app, with support for
\Settings\Setting::setValue('dark_mode', true);
echo \Settings\Setting::getValue('dark_mode'); // true
<template>
<div :class="{'dark-mode': $setting.dark_mode}"></div>
<button @click="toggleDarkMode">Toggle</button>
</template>
<script>
export default {
methods: {
toggleDarkMode() {
this.$setting.dark_mode = !this.$setting.dark_mode;
}
}
}
</script>
We've taken care over documenting everything you'll need to get started and use Laravel settings fully.
Check out the docs on our documentation site.
Contributions are welcome! Before contributing to this project, familiarize yourself with CONTRIBUTING.md.
This package is copyright © Toby Twigger and licensed for use under the terms of the MIT License (MIT). Please see LICENCE.md for more information.
For any questions, suggestions, security vulnerabilities or help, open an issue or email me directly at [email protected]