panelis-php/setting
Composer 安装命令:
composer require panelis-php/setting
包简介
Manage application settings including general configuration, logging, mail, formatting, and system options
关键字:
README 文档
README
Manage application settings directly from the Panelis admin panel.
Features
- Centralized application settings
- Typed setting fields
- Setting groups and sections
- Automatic setting persistence
- Laravel cache integration
- Automatic Panelis plugin discovery
Requirements
- PHP 8.3+
- Laravel 13+
- Filament 5+
Installation
Install the package via Composer:
composer require panelis-php/setting
Run migrations:
php artisan migrate
Usage
After installation, a Settings menu will be available in the Panelis admin panel.
The Setting module provides a centralized location for managing application configuration without modifying environment variables or configuration files.
Common use cases include:
- Site name
- Site description
- Contact information
- Social media links
- Third-party service settings
- Application preferences
Settings are stored in the database and can be managed through customizable setting pages.
Accessing Settings
Settings can be accessed throughout your application using the provided helper functions and services.
Example:
setting('site.name');
Integration
The Setting module can be used by other Panelis modules to store and manage module-specific configuration.
License
The MIT License (MIT).
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-24