https://github.com/tobytwigger/laravel-settings-vue
Strongly typed, feature rich settings for Laravel and Vue.
https://github.com/tobytwigger/laravel-settings-vue
config configuration database laravel open-source persistence php settings settings-repository settings-storage vue vuejs
Last synced: 3 months ago
JSON representation
Strongly typed, feature rich settings for Laravel and Vue.
- Host: GitHub
- URL: https://github.com/tobytwigger/laravel-settings-vue
- Owner: tobytwigger
- License: isc
- Created: 2022-07-18T09:53:54.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2022-07-21T22:37:02.000Z (almost 4 years ago)
- Last Synced: 2025-02-11T01:35:57.080Z (over 1 year ago)
- Topics: config, configuration, database, laravel, open-source, persistence, php, settings, settings-repository, settings-storage, vue, vuejs
- Language: TypeScript
- Homepage: https://tobytwigger.github.io/laravel-settings/
- Size: 414 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Laravel Settings (Vue 2)
> Powerful and feature rich settings for Laravel and Vue.
[](https://github.com/tobytwigger/laravel-settings-vue/releases)
## Contents
* [About the Project](#about)
* [Documentation](#documentation)
* [Contributing](#contributing)
* [Copyright and Licence](#copyright-and-licence)
* [Contact](#contact)
## 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.
This is the Vue integration. You will also need to install the [Laravel Settings package](https://github.com/tobytwigger/laravel-settings).
## Example
```php
\Settings\Setting::setValue('dark_mode', true);
echo \Settings\Setting::getValue('dark_mode'); // true
```
```vue
Toggle
export default {
methods: {
toggleDarkMode() {
this.$setting.dark_mode = !this.$setting.dark_mode;
}
}
}
```
## Documentation
We've taken care over documenting everything you'll need to get started and use Laravel settings fully.
[Check out the docs](https://tobytwigger.github.io/laravel-settings/vue) on our documentation site.
## Contributing
Contributions are welcome! Before contributing to this project, familiarize
yourself with [CONTRIBUTING.md](CONTRIBUTING.md).
## Copyright and Licence
This package is copyright © [Toby Twigger](https://github.com/tobytwigger)
and licensed for use under the terms of the MIT License (MIT). Please see
[LICENCE.md](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](mailto:tobytwigger1@gmail.com)