Download the PHP package panelis-php/setting without Composer
On this page you can find all versions of the php package panelis-php/setting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download panelis-php/setting
More information about panelis-php/setting
Files in panelis-php/setting
Package setting
Short Description Manage application settings including general configuration, logging, mail, formatting, and system options
License MIT
Informations about the package setting
Panelis Setting
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:
Run migrations:
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:
Extending Drivers
Panelis uses a driver-based architecture for configurable services such as Mail, Cache, and Log.
Registering a Driver
Register a driver from your service provider.
The driver will automatically appear in the corresponding settings page.
Creating a Mail Driver
Create a driver by extending MailDriver.
Once registered, the driver will automatically:
- Appear in the Mail driver list.
- Display its configuration section.
- Respect its installation status.
- Be sorted by
sort()andlabel().
Creating Other Driver Types
The same mechanism can be used for other configurable services.
Cache
Log
DriverManager automatically groups drivers by their base type, so Mail, Cache, and Log drivers remain isolated from each other.
Integration
The Setting module can be used by other Panelis modules to store and manage module-specific configuration.
License
The MIT License (MIT).
All versions of setting with dependencies
lorisleiva/laravel-actions Version ^2.10
filament/filament Version ^5.0
panelis-php/user Version ^1.2
laravel/framework Version ^13.0