Download the PHP package ameax/filament-settings without Composer
On this page you can find all versions of the php package ameax/filament-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ameax/filament-settings
More information about ameax/filament-settings
Files in ameax/filament-settings
Package filament-settings
Short Description A flexible settings management system for Laravel with Filament integration
License MIT
Informations about the package filament-settings
Ameax Filament Settings
A flexible settings management system for Laravel with Filament integration.
Features
- 🔧 Dynamic settings management with type casting
- 🔐 Built-in encryption support for sensitive data
- 📦 Caching for optimal performance
- 🎨 Beautiful Filament UI with tabs and groups
- ✅ Validation support
- 🌐 Translation ready
- 🔍 Easy to extend and customize
Installation
1. Install via Composer
2. Publish Configuration
3. Run Migrations
4. (Optional) Publish Views
If you want to customize the views:
Configuration
Edit config/filament-settings.php to define your settings:
Available Field Types
string- Text inputemail- Email inputurl- URL inputinteger- Number input (whole numbers)float- Number input (decimals)boolean- Checkboxselect- Dropdown selectiontextarea- Multi-line textencrypted- Password input with encryptionjson/array- JSON data (automatically encoded/decoded)
Usage
In Filament Admin Panel
The settings page will automatically appear in your Filament admin panel. You can customize its position using the navigationSort property.
In Your Application
In Blade Views
Tailwind CSS Configuration
If you're using custom Tailwind classes in your published views, you need to add the package's resource paths to your tailwind.config.js to ensure all classes are generated:
This is especially important if you:
- Published and customized the package views
- Added custom Tailwind classes to the blade templates
- Are experiencing missing styles in production
For Filament Projects
If you're using Filament, make sure to also include the package views in your Filament theme's tailwind.config.js:
After updating your Tailwind configuration, rebuild your assets:
Advanced Usage
Custom Validation
Tabs Organization
Group related settings using tabs:
Custom Select Options
Extending
Custom Setting Types
You can extend the Setting model to add custom types:
Then update your service provider to use your custom model.
Security
- Sensitive settings can use the
encryptedtype for automatic encryption - All settings are validated before saving
- Proper authorization should be implemented in your Filament resources
License
MIT
All versions of filament-settings with dependencies
illuminate/support Version ^12.0
illuminate/database Version ^12.0
filament/filament Version ^4.0