Download the PHP package zahidhassanshaikot/settings without Composer
On this page you can find all versions of the php package zahidhassanshaikot/settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zahidhassanshaikot/settings
More information about zahidhassanshaikot/settings
Files in zahidhassanshaikot/settings
Package settings
Short Description This is my package settings
License MIT
Homepage https://github.com/zahidhassanshaikot/settings
Informations about the package settings
This package is build for laravel basic settings management. You can add your custom settings using this package.
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
[
]()
This package allows you to store settings in a database. The settings are cached to prevent queries to the database. If you update a setting it will be stored in the database and the cache will be flushed. This package is for managing most basic settings in your laravel application like site title, site logo etc. You can add your custom settings using this package.
Support us
If you find this project helpful or appreciate my work, please consider buying me a coffee! ☕️
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
//: # () //: # ()
Usage
Facade
You can use the facade for shorter code. Add the following to your facades:
Helper function
A global settings() helper is also available as shorthand for the facade:
Typed values
Values are no longer limited to strings. Booleans, integers, arrays, and other JSON-serializable values are stored and returned as their original type:
Existing plain-string values written before this feature was added continue to work unchanged.
Artisan commands
//: # ()
//: # () //: # ()
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Zahid Hassan Shaikot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of settings with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0||^13.0