承接 tobytwigger/laravel-settings 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tobytwigger/laravel-settings

最新稳定版本:v3.0.1

Composer 安装命令:

composer require tobytwigger/laravel-settings

包简介

Settings for Laravel

README 文档

README

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

统计信息

  • 总下载量: 11.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-18