PHPackages                             larapost/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. larapost/categories

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

larapost/categories
===================

Content categories system

v0.2(7y ago)069PHP

Since Nov 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/larapost/categories)[ Packagist](https://packagist.org/packages/larapost/categories)[ Docs](https://github.com/komichoLab/laravelWebToken)[ RSS](/packages/larapost-categories/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

LaraPost Categories
===================

[](#larapost-categories)

### Install via composer

[](#install-via-composer)

Add orm to composer.json configuration file.

```
$ composer require larapost/categories

```

### add to file config/app.php

[](#add-to-file-configappphp)

If you are using laravel version before 5.5 you must add our service provider.

```
'providers' => [
    ...
    Larapost\Categorie\Support\ServiceProvider::class,
],
```

### Migrate

[](#migrate)

you can use migrate

```
$ php artisan migrate
OR
$ php artisan migrate:fresh

```

Use
---

[](#use)

```
use Larapost\Categories;
```

functions
---------

[](#functions)

### Add

[](#add)

```
function(Categories $categories)
{
    return $categories->add('', '' = false);
}
```

### Update

[](#update)

```
function(Categories $categories)
{
    return $categories->update('', '', '' = false);
}
```

### Get

[](#get)

```
function(Categories $categories)
{
    return $categories->get('', '',  = true | false);
}
```

### Remove

[](#remove)

```
function(Categories $categories)
{
    return $categories->remove('');
}
```

### All

[](#all)

```
function(Categories $categories)
{
    return $categories->all();
}
```

Sub categorie
-------------

[](#sub-categorie)

### Sub Add

[](#sub-add)

```
function(Categories $categories)
{
    return $categories->subAdd('', '', '' = false);
}
```

### Sub Update

[](#sub-update)

```
function(Categories $categories)
{
    return $categories->subUpdate('', '', '' = false);
}
```

### Sub Get

[](#sub-get)

```
function(Categories $categories)
{
    return $categories->subGet('', '', '');
}
```

### Sub Remove

[](#sub-remove)

```
function(Categories $categories)
{
    return $categories->subRemove('');
}
```

### sub All

[](#sub-all)

```
function(Categories $categories)
{
    return $categories->subAll();
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~154 days

Total

2

Last Release

2571d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31162701?v=4)[komicho](/maintainers/komicho)[@komicho](https://github.com/komicho)

---

Top Contributors

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

---

Tags

phplaravelcategorieskomicho

### Embed Badge

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

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

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

153.9k](/packages/salmanzafar-laravel-geocode)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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