PHPackages                             akeneo-labs/classification-rule-bundle - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. akeneo-labs/classification-rule-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

akeneo-labs/classification-rule-bundle
======================================

Akeneo PIM Enterprise bundle to classify products with the rule engine

v1.2.0(9y ago)39781OSL-3.0PHP

Since Jul 22Pushed 9y ago12 watchersCompare

[ Source](https://github.com/akeneo-labs/ClassificationRuleBundle)[ Packagist](https://packagist.org/packages/akeneo-labs/classification-rule-bundle)[ RSS](/packages/akeneo-labs-classification-rule-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

ClassificationRuleBundle
========================

[](#classificationrulebundle)

A bundle that extend the Akeneo PIM Enterprise CatalogRuleBundle, adding the possibility to unclassify products from a defined tree.

Requirements
------------

[](#requirements)

ClassificationRuleBundleAkeneo PIM Enterprise Editionv1.2.\*&gt;= v1.6v1.1.\*v1.5.\*v1.0.\*v1.4.\*v0.1.\*v1.3.\*Installation
------------

[](#installation)

You can install the bundle with composer:

```
    php composer.phar require akeneo-labs/classification-rule-bundle:1.2.*
```

Enable the bundle in the `app/AppKernel.php` file, in the `registerBundles` method:

```
    $bundles = [
        // ...
        new PimEnterprise\Bundle\ClassificationRuleBundle\PimEnterpriseClassificationRuleBundle(),
    ];
```

Now let's clear your cache and reinstall your assets:

```
    php app/console cache:clear --env=prod
    php app/console pim:installer:assets --env=prod
```

Documentation
-------------

[](#documentation)

### Rule definition

[](#rule-definition)

This bundle is an extension of the CatalogRuleBundle, so it uses the same conditions, and add a new set of actions:

- `unclassify`: remove a product from categories. If you set the category code to `null`, it will declassify the product. You can also define a tree to declassify only the product's categories of this tree.

### Examples

[](#examples)

[File example](Resources/doc/rules.yml)

Take a look to [the rule definition documentation](http://docs.akeneo.com/latest/cookbook/rule/general_information_on_rule_format.html?highlight=rule%20definition) to see more examples of conditions.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

3535d ago

Major Versions

0.1 → 1.0.x-dev2015-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/53fc15ef07d3658544b57f07d0616c1d63ef4607d95200ce69d17ffa3459f349?d=identicon)[jmleroux](/maintainers/jmleroux)

![](https://www.gravatar.com/avatar/307250bdb6545909b128061d967bd724d7174c4ad775390585ac1927c6110747?d=identicon)[akeneo](/maintainers/akeneo)

![](https://www.gravatar.com/avatar/8a3c6d99b1f8e8e14bc08d2fc5c798bc841ade1c4ae443a745b660067a56180f?d=identicon)[Fitn](/maintainers/Fitn)

---

Top Contributors

[![fitn](https://avatars.githubusercontent.com/u/2131005?v=4)](https://github.com/fitn "fitn (33 commits)")[![damien-carcel](https://avatars.githubusercontent.com/u/5039018?v=4)](https://github.com/damien-carcel "damien-carcel (26 commits)")[![MarieMinasyan](https://avatars.githubusercontent.com/u/1398717?v=4)](https://github.com/MarieMinasyan "MarieMinasyan (5 commits)")[![ctreton](https://avatars.githubusercontent.com/u/6158293?v=4)](https://github.com/ctreton "ctreton (1 commits)")[![BitOne](https://avatars.githubusercontent.com/u/2151567?v=4)](https://github.com/BitOne "BitOne (1 commits)")[![jmleroux](https://avatars.githubusercontent.com/u/1516770?v=4)](https://github.com/jmleroux "jmleroux (1 commits)")[![mickaelandrieu](https://avatars.githubusercontent.com/u/1247388?v=4)](https://github.com/mickaelandrieu "mickaelandrieu (1 commits)")

---

Tags

rulesecommerceclassificationPIMakeneo

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/akeneo-labs-classification-rule-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/akeneo-labs-classification-rule-bundle/health.svg)](https://phpackages.com/packages/akeneo-labs-classification-rule-bundle)
```

###  Alternatives

[akeneo-labs/custom-entity-bundle

Akeneo PIM Custom entity bundle

52102.6k7](/packages/akeneo-labs-custom-entity-bundle)[akeneo/excel-init-bundle

Akeneo PIM Excel initialization bundle

2218.9k](/packages/akeneo-excel-init-bundle)[akeneo/magento-connector-bundle

Akeneo PIM bundle to export to Magento platform

582.2k](/packages/akeneo-magento-connector-bundle)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)[hybridlogic/validation

A simple, extensible validation library for PHP with support for filtering and validating any input array along with generating client side validation code.

641.1k](/packages/hybridlogic-validation)[akeneo-labs/data-generator-bundle

Akeneo PIM Bundle to generate data in order to test high volume operations

112.1k](/packages/akeneo-labs-data-generator-bundle)

PHPackages © 2026

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