PHPackages                             canal-web/magento-selection - 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. [Database &amp; ORM](/categories/database)
4. /
5. canal-web/magento-selection

ActiveMagento-module[Database &amp; ORM](/categories/database)

canal-web/magento-selection
===========================

Magento module retrieving a collection based on a an attribute

0127PHP

Since Sep 22Pushed 8y ago4 watchersCompare

[ Source](https://github.com/canal-web/Magento_Selection)[ Packagist](https://packagist.org/packages/canal-web/magento-selection)[ RSS](/packages/canal-web-magento-selection/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Magento\_Selection
==================

[](#magento_selection)

Récupère une sélection de produits selon un attribut

Exemple d'intégration du bloc (sur une page CMS en back-office, ou dans un layout XML) - le bloc affichera 4 produits ayant l'attribut (booléen) is\_top\_promo à "oui", ordonné par "position" :

```

        attributeselection_is_selected

        limit4

        order_attributeselection_position

```

NB: l'orderAttribute est facultatif (le tri se fera sur l'attribut weight si non spécifié)

---

### TODO :

[](#todo-)

- Prévoir migration pour l'ajout à l'attribute set ?
- Traduire ce readme
- Pas de solution plus propre pour la query?

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c5fccfca3816fee908ef8d56ac5ad9bcdf4f7171286fdf387e1c6ca3496f03f?d=identicon)[Canalweb](/maintainers/Canalweb)

---

Top Contributors

[![Fwagra](https://avatars.githubusercontent.com/u/3933375?v=4)](https://github.com/Fwagra "Fwagra (7 commits)")[![galenskap](https://avatars.githubusercontent.com/u/4310921?v=4)](https://github.com/galenskap "galenskap (3 commits)")

### Embed Badge

![Health badge](/badges/canal-web-magento-selection/health.svg)

```
[![Health](https://phpackages.com/badges/canal-web-magento-selection/health.svg)](https://phpackages.com/packages/canal-web-magento-selection)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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