PHPackages                             brocode/module-entityservices - 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. brocode/module-entityservices

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

brocode/module-entityservices
=============================

Entity services for magento2

1.6.0(1y ago)315.0k↓45%MITPHP

Since Aug 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/brosenberger/module-entityservices)[ Packagist](https://packagist.org/packages/brocode/module-entityservices)[ RSS](/packages/brocode-module-entityservices/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (23)Used By (0)

Goal of this module should be
=============================

[](#goal-of-this-module-should-be)

- easy way to update your database without knowledge of underlaying array configs
- creating new EAV entity schemas with just a view lines of code
- add EAV attributes for products, customers, categories without knowledge of the differing subtle differences

\###DONE:

- create tables with various columns, indizes, foreign keys
- create a set of tables for a EAV entity
- update tables (add/modify columns, drop foreign keys or indizes)

\###Example:

Usage within a Schema upgrade:

```
class UpgradeSchema implements UpgradeSchemaInterface
   {
       /**
        * @var SchemaBuilder
        */
       private $schemaBuilderFactory;

       /**
        * UpgradeSchema constructor.
        * @param SchemaBuilder $schemaBuilderFactory
        */
       public function __construct(SchemaBuilderFactory $schemaBuilderFactory) {

           $this->schemaBuilderFactory = $schemaBuilderFactory;
       }

       public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context)
       {
           $setup->startSetup();
           if (version_compare($context->getVersion(), '1.1.0', 'asNullable(false)->build()
                   ->withIndex(['field_id'])->build()
                   ->withForeignKey('field_id, 'other_table', 'other_column')->actionNoAction()->build()
                   ->build();
           }
           $setup->endSetup();
       }
   }

```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance43

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~281 days

Total

22

Last Release

459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9453d161c28a18e817351e00d7ebe81ada31842a249ffb3389830b3483584e60?d=identicon)[brosenberger](/maintainers/brosenberger)

---

Top Contributors

[![rosenberger-e-conomix](https://avatars.githubusercontent.com/u/47806105?v=4)](https://github.com/rosenberger-e-conomix "rosenberger-e-conomix (39 commits)")

---

Tags

magentocomposer-installer

### Embed Badge

![Health badge](/badges/brocode-module-entityservices/health.svg)

```
[![Health](https://phpackages.com/badges/brocode-module-entityservices/health.svg)](https://phpackages.com/packages/brocode-module-entityservices)
```

###  Alternatives

[magento/magento-composer-installer

Composer installer for Magento modules

7524.2M350](/packages/magento-magento-composer-installer)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2111.3M7](/packages/yireo-magento2-webp2)[magento-hackathon/magento-composer-installer

Composer installer for Magento modules

214795.3k383](/packages/magento-hackathon-magento-composer-installer)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

1681.0M5](/packages/yireo-magento2-googletagmanager2)[yireo/magento2-extensionchecker

Scan the code of a Magento module

96166.3k2](/packages/yireo-magento2-extensionchecker)[yireo/magento2-disablelog2

Magento 2 module to disable customer logging

31370.7k](/packages/yireo-magento2-disablelog2)

PHPackages © 2026

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