PHPackages                             kun391/laravel-categories - 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. [Framework](/categories/framework)
4. /
5. kun391/laravel-categories

ActiveLibrary[Framework](/categories/framework)

kun391/laravel-categories
=========================

Package categories with with trees

v0.0.1(9y ago)4191MITJavaScriptPHP ~5.5|~7.0

Since May 25Pushed 9y ago2 watchersCompare

[ Source](https://github.com/kun391/laravel-categories)[ Packagist](https://packagist.org/packages/kun391/laravel-categories)[ Docs](https://github.com/kun391/laravel-categories)[ RSS](/packages/kun391-laravel-categories/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

Laravel Categories
==================

[](#laravel-categories)

[![Latest Stable Version](https://camo.githubusercontent.com/c92f36e4674a65cbd4c0ddef99d850da7f2f42ef6742ce283665060b8b8eab47/68747470733a2f2f706f7365722e707567782e6f72672f6b756e3339312f6c61726176656c2d63617465676f726965732f762f737461626c65)](https://packagist.org/packages/kun391/laravel-categories) [![Total Downloads](https://camo.githubusercontent.com/e28e871c403191614b8d85aeba3336bf19bdcc033f683187592dc8d3bd6ba792/68747470733a2f2f706f7365722e707567782e6f72672f6b756e3339312f6c61726176656c2d63617465676f726965732f646f776e6c6f616473)](https://packagist.org/packages/kun391/laravel-categories) [![Latest Unstable Version](https://camo.githubusercontent.com/d14e0fd1d87707a7005aace0414b8d1d8c45fce38148d8e281ae07a09b3e81c3/68747470733a2f2f706f7365722e707567782e6f72672f6b756e3339312f6c61726176656c2d63617465676f726965732f762f756e737461626c65)](https://packagist.org/packages/kun391/laravel-categories) [![License](https://camo.githubusercontent.com/0e5511db103a3988b09ecd51e4c2fea395b5f472eef2be2b0ace778816970593/68747470733a2f2f706f7365722e707567782e6f72672f6b756e3339312f6c61726176656c2d63617465676f726965732f6c6963656e7365)](https://packagist.org/packages/kun391/laravel-categories)

This is a package use to management multiple categories for laravel.

Install
-------

[](#install)

Via Composer

```
$ composer require kun391/laravel-categories
```

Setup
-----

[](#setup)

Add the following to your composer.json file :

```
"require": {
    "kun391/laravel-categories": "dev-master",
},

```

Then register service provider with in config/app.php:

```
'providers' => [
    ...
    'Kun\Categories\CategoriesServiceProvider::class',
]

```

Finally, you should run the command to publish assets of the package.

```
php artisan vendor:publish --tag=public --force

```

Customize
---------

[](#customize)

In this package, I used the [Forms &amp; HTML](https://laravelcollective.com/docs/5.2/html). If you change the alias of this one. You should publish file config and modify it.

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

```

then

```
return [
    'providers' => [
        'Collective\Html\HtmlServiceProvider'
    ],
    'aliases' => [
        'form' => [
            'alias_name' => 'Form',
            'alias' => 'Collective\Html\FormFacade'
        ],
        'html' => [
            'alias_name' => 'Html',
            'alias' => 'Collective\Html\HtmlFacade'
        ],
    ]
];

```

If you want to custom views or translations, you can publish views/translations.

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

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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

3639d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/805db4ad39f621188a2cf98353878feac6eff89e022ca33853a879600b33fe8a?d=identicon)[kun391](/maintainers/kun391)

---

Top Contributors

[![kun391](https://avatars.githubusercontent.com/u/5398707?v=4)](https://github.com/kun391 "kun391 (17 commits)")[![thanh391](https://avatars.githubusercontent.com/u/9245397?v=4)](https://github.com/thanh391 "thanh391 (4 commits)")

---

Tags

frameworklaraveltreecategoriesKun

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kun391-laravel-categories/health.svg)

```
[![Health](https://phpackages.com/badges/kun391-laravel-categories/health.svg)](https://phpackages.com/packages/kun391-laravel-categories)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)

PHPackages © 2026

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