PHPackages                             hypejunction/hypecategories - 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. hypejunction/hypecategories

ActiveElgg-plugin[Utility &amp; Helpers](/categories/utility)

hypejunction/hypecategories
===========================

Categories for Elgg

4.2.0(10y ago)3424[9 issues](https://github.com/hypeJunction/hypeCategories/issues)GPL-2.0PHP

Since Apr 29Pushed 10y ago4 watchersCompare

[ Source](https://github.com/hypeJunction/hypeCategories)[ Packagist](https://packagist.org/packages/hypejunction/hypecategories)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-hypecategories/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (12)Used By (0)

hypeCategories
==============

[](#hypecategories)

Categories and taxonomy for Elgg

Features
--------

[](#features)

- Support for site-wide and internal group categories
- User-friendly UI for adding and managing categories
- Support for category icons

Configuration
-------------

[](#configuration)

- If you are working with a large taxonomy, you will most likely need to update your PHP runtime configuration. If, when managing categories, you loose entries or hierarchies, increase the value of `max_input_vars`

Usage
-----

[](#usage)

### Adding category input

[](#adding-category-input)

To add a category input to your form, add the following code:

```
$input = elgg_view('input/category', array(
	'name_override' => 'my_categories', // do not include, unless you are attaching some custom event hooks to process user input
	'multiple' => true, // specifies whether users should have an option to select multiple categories
	'entity' => $entity, // an entity, which is being edited (will be used to obtain currently selected categories, unless 'value' parameter is present)
	'value' => array(), // an array of category GUIDs to be selected by default
));

```

By default, the plugin will listen to `'create','all'` and `'update','all'` events and create a `filed_in` relationship with selected categories (and all parent categories).

To display entity categories, use:

```
$output = elgg_view('output/category', array(
	'entity' => $entity // Entity for which the categories should be displayed
));

```

### Custom category subtypes

[](#custom-category-subtypes)

To add custom category subtypes to the workflow globally, update 'taxonomy\_tree\_subtypes' config value.

For example, you may want to have multiple taxonomies for categorizing content by topic, by context etc. The easiest way to achieve that, is by using different category subtypes, e.g. topic, cluster, grouping etc, or blog\_categories, bookmark\_categories etc.

Context-based filtering of category subtypes can be achieved via `'get_subtypes', 'framework:categories'` hook.

### Internationalization

[](#internationalization)

You can internationalize category names by adding translations to your language files. Translations should be namespaced with `"category:$category_title"`.

Versioning
----------

[](#versioning)

The master branch has been switched to Elgg 1.9.+ development. Legacy 1.8 code is in elgg1.8 branch.

Upgrading to 3.1
----------------

[](#upgrading-to-31)

The focus of 3.1 is to improve performance. There are several changes that should not but may affect your install:

1. Subcategory querying no longer uses LEFT JOIN for retrieving 'priority' metadata. If you are missing categories from your list, run a batch query and set priority on all your categories to 0 (this will place them at the end of the list)

Screenshots
-----------

[](#screenshots)

[![alt text](https://camo.githubusercontent.com/4aafcb1cb14202b17ef43d6a4faccc32460b9859e2219cdd692ec3e19eb3901b/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f6d616e6167652e706e67 "Category Management Tool")](https://camo.githubusercontent.com/4aafcb1cb14202b17ef43d6a4faccc32460b9859e2219cdd692ec3e19eb3901b/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f6d616e6167652e706e67)[![alt text](https://camo.githubusercontent.com/e87d4820634871619dcf5f30d496807837a0e11fc260cf64a1ec0ebf7dda7f08/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f666f726d2e706e67 "Form Field")](https://camo.githubusercontent.com/e87d4820634871619dcf5f30d496807837a0e11fc260cf64a1ec0ebf7dda7f08/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f666f726d2e706e67)[![alt text](https://camo.githubusercontent.com/24140f44d595c0c9a15ec46839cea06097fe3335919328059cb804a5036c9217/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f747265652e706e67 "Categories Tree")](https://camo.githubusercontent.com/24140f44d595c0c9a15ec46839cea06097fe3335919328059cb804a5036c9217/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f747265652e706e67)[![alt text](https://camo.githubusercontent.com/82d2fa18437413e31c67a411300cf96bf2ba2640a0d0b45aa81f83eb1bed6f8d/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f63617465676f72795f766965772e706e67 "Category Full View")](https://camo.githubusercontent.com/82d2fa18437413e31c67a411300cf96bf2ba2640a0d0b45aa81f83eb1bed6f8d/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f6879706543617465676f726965732f6d61737465722f73637265656e73686f74732f63617465676f72795f766965772e706e67)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~64 days

Recently: every ~12 days

Total

9

Last Release

3937d ago

Major Versions

2.1.0 → 3.0.02014-09-03

3.0.1 → 4.0.02015-08-04

PHP version history (2 changes)2.0.1PHP &gt;=5.3.3

4.0.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (118 commits)")[![beck24](https://avatars.githubusercontent.com/u/738363?v=4)](https://github.com/beck24 "beck24 (1 commits)")

---

Tags

pluginelggcategoriestaxonomy

### Embed Badge

![Health badge](/badges/hypejunction-hypecategories/health.svg)

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

###  Alternatives

[aliziodev/laravel-taxonomy

Laravel Taxonomy is a flexible and powerful package for managing taxonomies, categories, tags, and hierarchical structures in Laravel applications. Features nested-set support for optimal query performance on hierarchical data structures.

24426.4k](/packages/aliziodev-laravel-taxonomy)[coldtrick/group_tools

Combines different group additions into one plugin

305.2k](/packages/coldtrick-group-tools)[coldtrick/profile_manager

Improved management of user and group profile fields

303.8k1](/packages/coldtrick-profile-manager)[coldtrick/widget_manager

Manage your widgets

214.4k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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