PHPackages                             escolalms/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. [API Development](/categories/api)
4. /
5. escolalms/categories

ActivePackage[API Development](/categories/api)

escolalms/categories
====================

Escola Headless LMS Categories

0.1.43(2y ago)0234.8k↓28.1%19MITPHPPHP &gt;=7.4CI passing

Since Mar 10Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/EscolaLMS/Categories)[ Packagist](https://packagist.org/packages/escolalms/categories)[ RSS](/packages/escolalms-categories/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (47)Used By (9)

Categories
==========

[](#categories)

[![swagger](https://camo.githubusercontent.com/bf46f50926ef796b1bb0b6e41af746af52ff3aacdffb0533450f3b614a7334a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d737761676765722d677265656e)](https://escolalms.github.io/Categories/)[![codecov](https://camo.githubusercontent.com/59a7e7a35a7033d61bfc9e5a901da38ac24c1f03102e81894b7afa3481988340/68747470733a2f2f636f6465636f762e696f2f67682f4573636f6c614c4d532f43617465676f726965732f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d63693456505162724f49)](https://codecov.io/gh/EscolaLMS/Categories)[![phpunit](https://github.com/EscolaLMS/Categories/actions/workflows/test.yml/badge.svg)](https://github.com/EscolaLMS/Categories/actions/workflows/test.yml)[![downloads](https://camo.githubusercontent.com/a55e1b060e86adc2992e4ace3d0243022bd77bfa656dba9e01c130d8b149b4cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6573636f6c616c6d732f63617465676f72696573)](https://packagist.org/packages/escolalms/categories)[![downloads](https://camo.githubusercontent.com/6abdeecfc51512df87b1e22693f4c6700e0984983d0ad01860dfe3dbac5a308d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6573636f6c616c6d732f63617465676f72696573)](https://packagist.org/packages/escolalms/categories)[![downloads](https://camo.githubusercontent.com/e1a2c6ca65ff5926f6e3b096827a904e6419d01d6c9662c75c14fd8ff5a5ffc6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6573636f6c616c6d732f63617465676f72696573)](https://packagist.org/packages/escolalms/categories)[![Maintainability](https://camo.githubusercontent.com/23c21be729a6b1542e566bfb1a40b4e3a83b345a7eef58202dafc7190be2ad85/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66306131663262346466353533303631353565622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/EscolaLMS/Categories/maintainability)

What does it do
---------------

[](#what-does-it-do)

This package is used for creating Categories for EscolaLms.

Installing
----------

[](#installing)

- `composer require escolalms/categories`
- `php artisan migrate`
- `php artisan db:seed --class="EscolaLms\Consultations\Database\Seeders\ConsultationsPermissionSeeder"`

Endpoints
---------

[](#endpoints)

All the endpoints are defined in [![swagger](https://camo.githubusercontent.com/bf46f50926ef796b1bb0b6e41af746af52ff3aacdffb0533450f3b614a7334a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d737761676765722d677265656e)](https://escolalms.github.io/Categories/)

Tests
-----

[](#tests)

Run `./vendor/bin/phpunit --filter 'EscolaLms\\Categories\\Tests'` to run tests. See [tests](tests) folder as it's quite good staring point as documentation appendix.

### Admin panel

[](#admin-panel)

**Left menu**

[![Menu](docs/menu.png "Menu")](docs/menu.png)

**List of consultations**

[![List of categories](docs/list.png "List of categories")](docs/list.png)

**Creating/editing consultation**

[![Creating/editing category](docs/create.png "Creating or editing category")](docs/create.png)

Permissions
-----------

[](#permissions)

Permissions are defined in [seeder](vendor/escolalms/categories/database/seeders/CategoriesPermissionSeeder.php)

Features
--------

[](#features)

The lib allows categories

- adding a category
- generate slug for category
- edit category
- delete category
- show list categories
- if you want to remove category which has sub categories, earlier delete sub categories

To play the content you can use [EscolaLMS Categories](https://github.com/EscolaLMS/Categories)

### Seeder

[](#seeder)

You can seed library and content with build-in seeders that are accessible with

- `php artisan category-permissions:seed` to add permissions
- `php artisan db:seed --class="\EscolaLms\Categories\Database\Seeders\CategoriesSeeder"`

1. `Parent` Category is related belong to with other category
2. `Children` Category is related has many with other categories
3. `Courses` Category belongs to many with models Course
4. `Users` Category is related belongs to many with User

```
Category 1 -> 1 Category (Parent)
Category 1 -> n Category (Children)
Category 1 -> n Course
Category 1 -> n Users

```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance42

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~57 days

Total

44

Last Release

817d ago

PHP version history (2 changes)0.1PHP ^7.4

0.1.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c857f3115c790c573d0617d7e9ba4011269ef7b9dfdb003dc4388846a62b14f7?d=identicon)[qunabu](/maintainers/qunabu)

![](https://www.gravatar.com/avatar/76b9f62c3cf6603a01880fff42fd6579cdb859da0cbaa81f9aabea0d3d399d26?d=identicon)[mwl91](/maintainers/mwl91)

---

Top Contributors

[![HerbertIV](https://avatars.githubusercontent.com/u/62691459?v=4)](https://github.com/HerbertIV "HerbertIV (49 commits)")[![mako321](https://avatars.githubusercontent.com/u/59456825?v=4)](https://github.com/mako321 "mako321 (12 commits)")[![MWL91](https://avatars.githubusercontent.com/u/3055903?v=4)](https://github.com/MWL91 "MWL91 (11 commits)")[![qunabu](https://avatars.githubusercontent.com/u/214608?v=4)](https://github.com/qunabu "qunabu (8 commits)")[![daVitekPL](https://avatars.githubusercontent.com/u/58150098?v=4)](https://github.com/daVitekPL "daVitekPL (7 commits)")[![pa-cholek](https://avatars.githubusercontent.com/u/5345420?v=4)](https://github.com/pa-cholek "pa-cholek (6 commits)")[![dyfero](https://avatars.githubusercontent.com/u/59400506?v=4)](https://github.com/dyfero "dyfero (6 commits)")[![dicani0](https://avatars.githubusercontent.com/u/58490533?v=4)](https://github.com/dicani0 "dicani0 (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![KrzysztofDziedziechEscolasoft](https://avatars.githubusercontent.com/u/96292232?v=4)](https://github.com/KrzysztofDziedziechEscolasoft "KrzysztofDziedziechEscolasoft (2 commits)")[![ArtKob](https://avatars.githubusercontent.com/u/108077902?v=4)](https://github.com/ArtKob "ArtKob (1 commits)")

---

Tags

api-restheadlesslaravellms

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[escolalms/headless-h5p

Headless H5P Laravel REST API

2732.6k8](/packages/escolalms-headless-h5p)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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