laravel-admin/site
Laravel package that adds a “site” singleton to the service container for storing app-wide data (supports dot notation). Includes defaults via config, can populate values from a model, and shares the container with all views as $site.
config() calls or hardcoded values in views.laravel-settings) are overkill."This package lets us centralize all site-wide settings—like titles, SEO tags, or promotional banners—in one place, making updates faster and reducing errors. Think of it like a ‘global variables’ system for our Laravel app. It’s lightweight, avoids custom dev work, and could save us time during launches or marketing campaigns. The trade-off? It’s not as feature-rich as dedicated CMS tools, but it’s a quick win for low-risk changes."
*"This is a singleton service container for Laravel that exposes global app state to views via $site. Key benefits:
app('site')->get('seo.title').app('site')->model($post).$site in all Blade templates.Risks:
Use case: Great for prototyping or projects where you need to avoid over-engineering a settings manager. For production, pair with a database-backed solution like Spatie’s package."*
How can I help you explore Laravel packages today?