Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobytwigger/laravel-settings
Strongly typed, feature rich settings for Laravel and Vue.
https://github.com/tobytwigger/laravel-settings
config configuration database laravel open-source persistence php settings settings-repository settings-storage vue vuejs
Last synced: 4 months ago
JSON representation
Strongly typed, feature rich settings for Laravel and Vue.
- Host: GitHub
- URL: https://github.com/tobytwigger/laravel-settings
- Owner: tobytwigger
- License: mit
- Created: 2022-07-18T09:54:09.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-20T09:37:37.000Z (6 months ago)
- Last Synced: 2024-09-29T20:21:19.326Z (4 months ago)
- Topics: config, configuration, database, laravel, open-source, persistence, php, settings, settings-repository, settings-storage, vue, vuejs
- Language: PHP
- Homepage: https://tobytwigger.github.io/laravel-settings/
- Size: 709 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Laravel Settings
> Powerful and feature rich settings for Laravel.[![Latest Version](https://img.shields.io/github/v/release/tobytwigger/laravel-settings?label=Latest%20Version&sort=semver&style=plastic)](https://github.com/tobytwigger/laravel-settings/releases)
[![Build](https://github.com/tobytwigger/laravel-settings/actions/workflows/build-status.yml/badge.svg?branch=develop)](https://github.com/tobytwigger/laravel-settings/actions/workflows/build-status.yml)## 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.## Example
```php
\Settings\Setting::setValue('dark_mode', true);
echo \Settings\Setting::getValue('dark_mode'); // true
``````vue
Toggleexport 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) on our documentation site.
[comment]: <> (To build them locally, you'll need to have ruby (we'd recommend using rbenv) and the gem bundler (https://bundler.io/) installed. Run `bundle install && bundle exec jekyll serve` in the docs folder.)
## 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 [[email protected]](mailto:[email protected])