PHPackages                             panjinamjaelf/kaguya - 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. panjinamjaelf/kaguya

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

panjinamjaelf/kaguya
====================

Save app settings on laravel framework.

1.1.0(5y ago)1091[17 PRs](https://github.com/PanjiNamjaElf/kaguya/pulls)MITPHPPHP ^7.2.5

Since Jun 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PanjiNamjaElf/kaguya)[ Packagist](https://packagist.org/packages/panjinamjaelf/kaguya)[ RSS](/packages/panjinamjaelf-kaguya/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (22)Used By (0)

Kaguya Package for Laravel Settings
===================================

[](#kaguya-package-for-laravel-settings)

[![Software License](https://camo.githubusercontent.com/8532d2b00befbf6271ff12c0548eaea2bf31cc6bed30400dc084fe6255294bc0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f50616e6a694e616d6a61456c662f6b61677579613f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/dd8cd95b4f04fbc324f7d2840ac5cb336eeffef6625c7e8b9a55e72b5c83b046/68747470733a2f2f7374796c6563692e696f2f7265706f732f3237303032353332362f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/270025326)[![GitHub Workflow Status](https://camo.githubusercontent.com/22497a1afa83cf055fe0bb554856cae540061e170e3c9bf48aaa8fb7aa9ebd89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f70616e6a696e616d6a61656c662f6b61677579612f52756e253230504850556e697425323074657374733f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/22497a1afa83cf055fe0bb554856cae540061e170e3c9bf48aaa8fb7aa9ebd89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f70616e6a696e616d6a61656c662f6b61677579612f52756e253230504850556e697425323074657374733f6c6162656c3d7465737473267374796c653d666c61742d737175617265)[![Run PHPUnit tests](https://github.com/panjinamjaelf/kaguya/workflows/Run%20PHPUnit%20tests/badge.svg)](https://github.com/panjinamjaelf/kaguya/workflows/Run%20PHPUnit%20tests/badge.svg)[![Latest Version on Packagist](https://camo.githubusercontent.com/aa5bc2f61dc5b0b30ad0d3af5d8bb798078e3d7db3f743a2d35cb6b9f9afff24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70616e6a696e616d6a61656c662f6b61677579612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/panjinamjaelf/kaguya)

Laravel package used to store your app settings.

Installation
------------

[](#installation)

```
composer require panjinamjaelf/kaguya
```

After install the package you should run the `kaguya:install` artisan command. This command will publish kaguya assets and migrate database.

Configuration
-------------

[](#configuration)

You can configure the available menu on settings with publishing the package configuration

```
php artisan vendor:publish --tag=kaguya-config
```

### Content of the configuration

[](#content-of-the-configuration)

keydefault valueDescriptionsettingsdefault settingsConfigure section of the settings page.pathenv('KAGUYA\_PATH', 'settings')This URI path where settings will be accessible from.middleware\['web', 'auth'\]Usage
-----

[](#usage)

To get setting value from storage

```
setting('setting_name', 'default');
```

Set current setting value

```
setting(['setting_name' => 'value']);
```

If you want to reset your current settings to default value you can run this command

```
php artisan kaguya:reset
```

Add this following script on any view or controller to get settings page url

```
route('settings');
```

View
----

[](#view)

If you want to customize the view you can publish the view with this command

```
php artisan vendor:publish --tag=kaguya-views
```

Translation
-----------

[](#translation)

This package contain translation files, you may run this command to customize the translation.

```
php artisan vendor:publish --tag=kaguya-translations
```

License
-------

[](#license)

This project and the Laravel framework are open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~77 days

Total

4

Last Release

1936d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16651293?v=4)[Panji Setya Nur Prawira](/maintainers/PanjiNamjaElf)[@PanjiNamjaElf](https://github.com/PanjiNamjaElf)

---

Top Contributors

[![PanjiNamjaElf](https://avatars.githubusercontent.com/u/16651293?v=4)](https://github.com/PanjiNamjaElf "PanjiNamjaElf (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

laravelSettingslaravel-settingslaravel-app-settingskaguya

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/panjinamjaelf-kaguya/health.svg)

```
[![Health](https://phpackages.com/badges/panjinamjaelf-kaguya/health.svg)](https://phpackages.com/packages/panjinamjaelf-kaguya)
```

###  Alternatives

[edvinaskrucas/settings

Persistent settings package for Laravel framework.

22483.1k1](/packages/edvinaskrucas-settings)[oriceon/laravel-settings

Laravel 5 persistent settings

207.1k1](/packages/oriceon-laravel-settings)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
