Download the PHP package starfolksoftware/kalibrant without Composer
On this page you can find all versions of the php package starfolksoftware/kalibrant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download starfolksoftware/kalibrant
More information about starfolksoftware/kalibrant
Files in starfolksoftware/kalibrant
Package kalibrant
Short Description A package to manage setting of your models.
License MIT
Homepage https://github.com/starfolksoftware/kalibrant
Informations about the package kalibrant
Introduction
For your laravel 9.x applications, Kalibrant
is a package that provides a simple way to manage your models settings. It is a simple way to manage your user and team models settings.
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
Add the HasSetting
trait to your model:
You can create a new setting file by running the following command from the terminal:
This is will create a new file in the /app/Settings/
directory. Here is a sample file:
To update the settings, make a PUT
request to route('settings.update', ['group' => '..', 'id' => '...'])
with the defined attributes as data. A sample request to update the above settings:
Testing
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
- Faruk Nasir
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of kalibrant with dependencies
spatie/laravel-package-tools Version ^1.9.2
symfony/options-resolver Version ^6.0