Download the PHP package elegantly/laravel-settings without Composer
On this page you can find all versions of the php package elegantly/laravel-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elegantly/laravel-settings
More information about elegantly/laravel-settings
Files in elegantly/laravel-settings
Package laravel-settings
Short Description Settings for your Laravel App
License MIT
Homepage https://github.com/ElegantEngineeringTech/laravel-settings
Informations about the package laravel-settings
Elegant Global Settings Management in Laravel
A simple and flexible way to manage global or model-specific settings in your Laravel app.
Features
- Define global settings
- Store settings in the database via Eloquent
- Cache settings for performance
- Attach settings to users or any other model
- Support for typed namespaced settings classes
Table of Contents
- Installation
- Configuration
-
Usage
- Basic Usage (Facade)
- Dependency Injection
- Typed Namespaced Settings
- Testing
- Changelog
- Contributing
- Security
- Credits
- License
Installation
Install the package via Composer:
Publish the migration and run it:
Optionally, publish the configuration file:
Configuration
Published config file (config/settings.php):
Usage
Basic Usage (Facade)
Dependency Injection
Typed Namespaced Settings
For better DX, define custom typed settings classes:
Usage
Defining a Typed Settings Class
Testing
Run the test suite:
Changelog
See CHANGELOG for details on recent changes.
Contributing
See CONTRIBUTING for contribution guidelines.
Security Vulnerabilities
Please review our security policy for reporting vulnerabilities.
Credits
- Quentin Gabriele
- All Contributors
License
This package is open-sourced under the MIT license.
All versions of laravel-settings with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0