tobytwigger/laravel-settings

Settings for Laravel
11,996 1
Install
composer require tobytwigger/laravel-settings
Latest Version:v3.0.1
PHP:^8.2
License:MIT
Last Updated:May 19, 2025
Links: GitHub  ·  Packagist
Maintainer: tt15951

Laravel Settings

Powerful and feature rich settings for Laravel.

Latest Version Build

Contents

About

Laravel Settings lets you persist strongly typed settings within your app, with support for

  • Validation, encryption and authorization controls provided.
  • Global settings and user-set settings.
  • Native integration with Vue JS.

Example

\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>

Documentation

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.

Contributing

Contributions are welcome! Before contributing to this project, familiarize yourself with CONTRIBUTING.md.

Copyright and Licence

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.

Contact

For any questions, suggestions, security vulnerabilities or help, open an issue or email me directly at tobytwigger1@gmail.com

Related Packages

kompo/kompo

Laravel & Vue.js FullStack Components for Rapid Application Development

16,379 120
delatbabel/site-config

A database backed config loader for Laravel with per-site configuration.

1,363 4
softpulze/laravibe-vue

Open-source Laravel + Vue 3 starter kit with Inertia, Vite, Tailwind CSS, Shadcn...

6 2
inoplate/config

Inoplate configuration repository

14 0

Version History

Version Released PHP Laravel License
v3.0.1 ^8.2 ^10.0|^11.0|^12.0 MIT
v3.0.0 ^8.2 ^10.0|^11.0 MIT
v2.0.0 ^8.1 ^8.0|^9.0|^10.0 MIT
v1.1.0 ^8.0 ^8.0|^9.0|^10.0 MIT
v1.0.5 ^8.0 ^8.0|^9.0 MIT