PHPackages                             starfolksoftware/kalibrant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. starfolksoftware/kalibrant

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

starfolksoftware/kalibrant
==========================

A package to manage setting of your models.

v1.0.3(3y ago)31.5kMITPHPPHP ^8.0

Since Mar 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/starfolksoftware/kalibrant)[ Packagist](https://packagist.org/packages/starfolksoftware/kalibrant)[ Docs](https://github.com/starfolksoftware/kalibrant)[ RSS](/packages/starfolksoftware-kalibrant/feed)WikiDiscussions v1.x Synced 4w ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (0)

[![Logo Kalibrant](https://user-images.githubusercontent.com/4984175/159135103-4eda743a-5928-4eb2-a674-939cb518bff3.png)](https://user-images.githubusercontent.com/4984175/159135103-4eda743a-5928-4eb2-a674-939cb518bff3.png)

 [ ![Build Status](https://github.com/starfolksoftware/kalibrant/actions/workflows/run-tests.yml/badge.svg) ](https://github.com/starfolksoftware/kalibrant/actions) [ ![Build Status](https://github.com/starfolksoftware/kalibrant/actions/workflows/php-cs-fixer.yml/badge.svg) ](https://github.com/starfolksoftware/kalibrant/actions) [ ![Build Status](https://github.com/starfolksoftware/kalibrant/actions/workflows/phpstan.yml/badge.svg) ](https://github.com/starfolksoftware/kalibrant/actions) [ ![Total Downloads](https://camo.githubusercontent.com/213f0928f424913802441d569bfc1db4461d44a60c92350dbb8b47f2ae726778/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172666f6c6b736f6674776172652f6b616c696272616e74) ](https://packagist.org/packages/starfolksoftware/kalibrant) [ ![Latest Stable Version](https://camo.githubusercontent.com/034a9f2b3d0b6d4370e1e7994509ecfb01295658ffce38b3acf0bbbc4ba3f66c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746172666f6c6b736f6674776172652f6b616c696272616e74) ](https://packagist.org/packages/starfolksoftware/kalibrant) [ ![License](https://camo.githubusercontent.com/96616488e35286328703ce90db5439184853cf40e71f736ec2c9e4191367ad60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73746172666f6c6b736f6674776172652f6b616c696272616e74) ](https://packagist.org/packages/starfolksoftware/kalibrant)

Introduction
============

[](#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
------------

[](#installation)

You can install the package via composer:

```
composer require starfolksoftware/kalibrant
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="kalibrant-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="kalibrant-config"
```

This is the contents of the published config file:

```
return [
    /**
     * Define all the settings groups.
     */
    'groups' => [
        // 'setting-group' => SettingGroup::class,
    ],

    'middleware' => ['web'],
];
```

Usage
-----

[](#usage)

Add the `HasSetting` trait to your model:

```
