config system but with database-backed flexibility. This could be valuable for dynamic, environment- or tenant-specific configurations.doctrine/orm in Laravel via spatie/laravel-doctrine-orm).config system is file-based by default, so integrating this would require:
Config::clear() or caching drivers like Redis).Symfony\Component\DependencyInjection, SonataAdminBundle) introduces significant refactoring risk. Key risks include:
config + caching (e.g., config:cache) or packages like spatie/laravel-settings suffice?spatie/laravel-settings, beberlei/attributes, or custom solutions) been assessed for similar functionality?ContainerInterface vs. Laravel’s Illuminate\Container\Container.symfony/ux-live-component for reactivity).illuminate/support to mimic Symfony’s ParameterBag.ParameterBag with Laravel’s Config or a custom service.SettingRepository).Config cache).symfony/symfony v4.4+ is compatible with Laravel’s underlying components (e.g., HTTP kernel, routing), but full framework integration is not feasible.replace or conflict directives to avoid pulling in Symfony’s full stack.spatie/laravel-doctrine-orm to run Doctrine alongside Eloquent (not recommended for production due to complexity).package:discover).composer require awaresoft/setting-bundle --ignore-platform-req symfony/symfony
Setting entity, repository, and validation logic into a Laravel-compatible layer.// Original (Symfony/Doctrine)
class Setting extends AbstractSetting {}
// Adapted (Laravel/Eloquent)
class Setting extends Model implements SettingInterface {}
Resource to manage Setting models.use Illuminate\Support\Facades\Config;
Setting::updated(function ($setting) {
Config::clear();
// Or use a cache driver to invalidate specific keys.
});
settings.updated) to Laravel’s events or broadcast channels for reactivity.How can I help you explore Laravel packages today?