This release removes the need for a custom Blade view by providing a builtโin default view, which can still be overridden when needed. This simplifies the setup and eliminates an unnecessary stub.
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.3.3...v1.3.4
Improved the Blade template to support modals within widgets.
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.3.2...v1.3.3
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.3.1...v1.3.2
Added safe_db_config() - a fault-tolerant wrapper for accessing database configuration values with built-in exception handling.
Key Features:
db_config()Usage Example:
// Returns 'Default Name' if database is unavailable or any error occurs
safe_db_config('website.site_name', 'Default Name');
When to Use:
Added support for Filament v5 while keeping full compatibility with Filament v4.
composer.json: "filament/filament": "^4.0" โ "filament/filament": "^4.0|^5.0" Upgrade:
composer require inerba/filament-db-config:"^1.3" If you move your app to Filament v5, also upgrade Livewire to v4. That's it.
This release adds support for creating widgets with database-backed configurations. The new structure enables centralized and localized management of widget settings, making dashboards and modules in FilamentPHP more modular and easier to organize.
Introduced a centralized structure for widget settings management, based on DbConfigTrait and the new abstract class AbstractWidgetSettings.
Added โLast updatedโ message in IT, EN, FR, ES, with automatic date formatting according to the user's language.
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.7...v1.2.0
Settings suffix in DbConfigCommand.DbConfigCommandSettingsSuffixTest.php to ensure correct suffix handling.๐ Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.6...v1.1.7
Unified form handling with $form, safer JSON upsert & caching in DbConfig, last-updated helpers, global helper, and quality tooling.
$form (with $content as fallback) for filling and reading state.lastUpdatedAt() helper to get a formatted โlast updatedโ timestamp for the settings group.mod+s keyboard shortcut.getGroupLastUpdatedAt() to retrieve a formatted last-updated timestamp for a group.db_config() for quick access to stored settings.AbstractPageSettings: removed the hard dependency on InteractsWithSchemas; state is read via $form->getState() when available (falls back to $content).stubs/page.stub: default method is now form() (the old content() continues to work).AbstractPageSettings and DbConfig.declare(strict_types=1); added to new/updated PHP files.RuntimeException if the form instance does not expose getState().phpstan/phpstan to require-dev.form(Schema $schema) in old pages; legacy content() remains supported.AbstractPageSettings::lastUpdatedAt() or DbConfig::getGroupLastUpdatedAt().Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.5...v1.1.6
This version includes minor bug fixes and stability improvements. Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.4...v1.1.5
This release introduces a new feature for setting default values on settings pages and includes improvements to the package's testing infrastructure.
โจ Added
๐ Improved
Scaffolding Stub: The artisan make command for settings pages now includes the getDefaultData() method in the generated file.
Testing Infrastructure: The test environment has been updated to ensure reliable testing of Filament and Livewire components. This includes automatic database migrations, registration of all required service providers, and proper session initialization.
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.3...v1.1.4
This release marks a step forward for filament-db-config, introducing greater flexibility, robustness, and reliability. The package is now more configurable than ever and is backed by a full test suite to ensure the highest quality.
config/db-config.php configuration file.table_name option in the configuration file.cache.prefix).cache.ttl), allowing for temporary caching instead of only permanent.README.md file has been rewritten to be clearer and more comprehensive, with detailed sections on installation, configuration, and testing.Model and Factory files have been removed to make the package lighter and more consistent.Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.1.2...v1.1.3
Add CanOpenUrlInBrowser trait to DbConfigCommand
What's Changed in v1.1.0 ๐ New Features Interactive prompts: Added interactive command prompts to improve command usability and user experience Enhanced command interface: Commands are now more user-friendly with better guidance and input validation ๐ Documentation Improved README: Updated README.md with better plugin description and clearer documentation Spatie Settings comparison: Added detailed explanation of differences compared to Spatie Settings package to help users understand when to use this plugin ๐ง CI/CD Improvements Code quality: Added GitHub Actions workflow for automated code style checks Better maintenance: Automated code style validation ensures consistent code quality across contributions
Full Changelog: https://github.com/inerba/filament-db-config/compare/v1.0.1...v1.1.0
This is the first stable release of DB Config, a Filament plugin that provides a simple, database-backed key/value store for application settings.
It offers:
Use this package to manage settings, frontend semi-static pages, various info and more...
How can I help you explore Laravel packages today?