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

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

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

Trip Teknologi's Laravel.php Menus

1.0.0(2y ago)015MITPHPPHP ^8.0.2

Since Jan 8Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Menu
====

[](#menu)

This package provides implementation of 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-menu

```

How to use it :

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

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

```

- Migrate.

```
php artisan migrate

```

- Sample :

```
use Tripteki\Menu\Contracts\Repository\Admin\IMenuAdminRepository;
use Tripteki\Menu\Contracts\Repository\IMenuRepository;

$menuAdminRepository = app(IMenuAdminRepository::class);

// $menuAdminRepository->create([ "platform" => "desktop", "route" => "ads", "nth" => 0, "title" => "ads_gallery", "metadata" => [ "icon" => "ic-gallery", "sound" => "tones/default.mp3", ], "description" => "Gallery", ]); //
// $menuAdminRepository->delete("identifier"); //
// $menuAdminRepository->update("identifier", [ "platform" => "desktop", "route" => "ads", "nth" => 1, "title" => "ads_gallery", "metadata" => [ "icon" => "ic-gallery", "sound" => "tones/default.mp3", ], "description" => "Gallery", ]); //
// $menuAdminRepository->activate("identifier"); //
// $menuAdminRepository->deactivate("identifier"); //
// $menuAdminRepository->get("identifier"); //
// $menuAdminRepository->all(); //

$repository = app(IMenuRepository::class);

// $repository->get("desktop", "ads", 5); //
// $repository->all("web", "ads"); //
// $repository->all("mobile", "ads"); //
// $repository->all("desktop", "ads"); //
```

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

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

```

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

```

Usage
-----

[](#usage)

`php artisan adminer:install:menu`

Author
------

[](#author)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

861d 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 (1 commits)")

---

Tags

bannet

### Embed Badge

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

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

###  Alternatives

[easyrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

62231.5M42](/packages/easyrdf-easyrdf)[johnpbloch/wordpress-core

WordPress is open source software you can use to create a beautiful website, blog, or app.

17812.3M117](/packages/johnpbloch-wordpress-core)[functional-php/fantasy-land

Specification for interoperability of common algebraic structures in PHP

396.2M5](/packages/functional-php-fantasy-land)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k136](/packages/symfony-ai-platform)

PHPackages © 2026

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