PHPackages                             tripteki/laravelphp-setting-menu - 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. tripteki/laravelphp-setting-menu

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

tripteki/laravelphp-setting-menu
================================

Trip Teknologi's Laravel.php Setting Menu

1.1.2(2y ago)063MITPHPPHP ^8.0.2

Since Nov 10Pushed 2y agoCompare

[ Source](https://github.com/tripteki/laravelphp-setting-menu)[ Packagist](https://packagist.org/packages/tripteki/laravelphp-setting-menu)[ Docs](https://github.com/tripteki/laravelphp-setting-menu)[ RSS](/packages/tripteki-laravelphp-setting-menu/feed)WikiDiscussions main Synced 1mo ago

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

Setting Menu
============

[](#setting-menu)

This package provides implementation of setting menu in repository pattern for Lumen and Laravel besides REST API starterpack of admin management with no intervention to codebase and keep clean.

Getting Started
---------------

[](#getting-started)

Installation :

```
composer require tripteki/laravelphp-setting-menu

```

How to use it :

- Put `Tripteki\SettingMenu\Providers\SettingMenuServiceProvider` to service provider configuration list.
- Put `Tripteki\SettingMenu\Providers\SettingMenuServiceProvider::ignoreMigrations()` into `register` provider, then publish migrations file into your project's directory with running (optionally) :

```
php artisan vendor:publish --tag=tripteki-laravelphp-setting-menu-migrations

```

- Migrate.

```
php artisan migrate

```

- Publish tests file into your project's directory with running (optionally) :

```
php artisan vendor:publish --tag=tripteki-laravelphp-setting-menu-tests

```

- Sample :

```
use Tripteki\SettingMenu\Contracts\Repository\Admin\ISettingMenuDetailRepository;
use Tripteki\SettingMenu\Contracts\Repository\ISettingMenuRepository;

$menuRepository = app(ISettingMenuDetailRepository::class);

// $menuRepository->create("headernavbar", "home", [ "category" => null, "icon" => "md-home", "title" => "Home", "description" => "Home Page", ]); //
// $menuRepository->delete("headernavbar", "home"); //
// $menuRepository->update("headernavbar", "home", [ "icon" => "fa-home", ]); //
// $menuRepository->get("headernavbar", "home"); //
// $menuRepository->all("headernavbar"); //

$repository = app(ISettingMenuRepository::class);
// $repository->setUser(...); //
// $repository->getUser(); //

// $repository->move(null, "dashboard", "sidenavbar"); // Attach "dashboard" menu to "base" menu that is part of "sidenavbar"...
// $repository->move(null, "home", "headernavbar"); // Attach "home" menu to "base" menu that is part of "headernavbar"...
// $repository->move(null, "profile", "headernavbar"); // Attach "profile" menu to "base" menu that is part of "headernavbar"...
// $repository->move(null, "about", "headernavbar"); // Attach "about" menu to "base" menu that is part of "headernavbar"...
// $repository->move(null, "media", "sidenavbar"); // Attach "media" menu to "base" menu that is part of "sidenavbar"...
// $repository->move("media", null, "sidenavbar"); // Detach "media" menu from "base" menu that is part of "sidenavbar"...
// $repository->move("about", null, "headernavbar"); // Detach "about" menu from "base" menu that is part of "headernavbar"...
// $repository->move("profile", null, "headernavbar"); // Detach "profile" menu from "base" menu that is part of "headernavbar"...
// $repository->move("home", null, "headernavbar"); // Detach "home" menu from "base" menu that is part of "headernavbar"...
// $repository->move("dashboard", null, "sidenavbar"); // Attach "dashboard" menu to "base" menu that is part of "sidenavbar"...
// $repository->move("media", "dashboard", "sidenavbar"); // Move "media" menu from "base" menu to inside "dashboard" menu that is part of "sidenavbar"...
// $repository->move("profile", "home", "headernavbar"); // Move "profile" menu from "base" menu to inside "home" menu that is part of "headernavbar"...
// $repository->move("about", "home.profile", "headernavbar"); // Move "about" menu from "base" menu to inside "home"->"profile" menu that is part of "headernavbar"...
// $repository->move("home.profile.about", "home", "headernavbar"); // Move "about" menu from inside "profile"->"about" menu to inside "home" menu that is part of "headernavbar"...
// $repository->all("headernavbar"); //
// $repository->all("sidenavbar"); //
```

- Generate swagger files into your project's directory with putting this into your annotation configuration (optionally) :

```
base_path("app/Http/Controllers/SettingMenu")

```

```
base_path("app/Http/Controllers/Admin/SettingMenu")

```

Usage
-----

[](#usage)

`php artisan adminer:install:setting:menu`

Author
------

[](#author)

- Trip Teknologi ([@tripteki](https://linkedin.com/company/tripteki))
- Hasby Maulana ([@hsbmaulana](https://linkedin.com/in/hsbmaulana))

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~5 days

Total

4

Last Release

904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bcb25d4bbf5d664b8dd7cc7e5c194f876f54c994a1b3b9ebeaab370f577025a?d=identicon)[tripteki](/maintainers/tripteki)

---

Top Contributors

[![hsbmaulana](https://avatars.githubusercontent.com/u/38196994?v=4)](https://github.com/hsbmaulana "hsbmaulana (8 commits)")

---

Tags

bannet

### Embed Badge

![Health badge](/badges/tripteki-laravelphp-setting-menu/health.svg)

```
[![Health](https://phpackages.com/badges/tripteki-laravelphp-setting-menu/health.svg)](https://phpackages.com/packages/tripteki-laravelphp-setting-menu)
```

PHPackages © 2026

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