PHPackages                             blackbird/module-data-model-sample - 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. blackbird/module-data-model-sample

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

blackbird/module-data-model-sample
==================================

Sample module of a data model persistence implementation.

0.3.0(6y ago)815MITPHP

Since Mar 22Pushed 6y agoCompare

[ Source](https://github.com/blackbird-agency/magento-2-data-model-sample)[ Packagist](https://packagist.org/packages/blackbird/module-data-model-sample)[ Docs](https://github.com/blackbird-agency/magento-2-data-model-sample)[ RSS](/packages/blackbird-module-data-model-sample/feed)WikiDiscussions master Synced 3d ago

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

Magento 2 : How to create a Data Model
======================================

[](#magento-2--how-to-create-a-data-model)

[![Latest Stable Version](https://camo.githubusercontent.com/24a85d76afdbd0442b97c558c7b50a88d1ba1211ea85dcd1019e3baed548793c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c61636b626972642f6d6f64756c652d646174612d6d6f64656c2d73616d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackbird/module-data-model-sample)[![License: MIT](https://camo.githubusercontent.com/3b6c99604ee7e2c4f224fb2cfb71bd4051c94cbf8729f63941e904d5b450cd93/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626c61636b626972642d6167656e63792f6d6167656e746f2d322d646174612d6d6f64656c2d73616d706c652e7376673f7374796c653d666c61742d737175617265)](./LICENSE)

**Read our articles about the data model persistence:**

- [Part 1 - Data Model](https://black.bird.eu/en/blog/recettem2.html)
- [Part 2 - Resource Model](https://black.bird.eu/en/blog/recettem2-2.html)
- [Part 3 - Entity Manager](https://black.bird.eu/en/blog/recettem2-3.html)

***Special gift from the Blackbird Dev "Kevin Weyhaupt"*** ![:neckbeard:](https://github.githubassets.com/images/icons/emoji/neckbeard.png ":neckbeard:")

Setup
-----

[](#setup)

### Get the package

[](#get-the-package)

**Zip Package:**

Unzip the package in app/code/Blackbird/DataModelSample

**Composer Package:**

```
composer require blackbird/module-data-model-sample

```

### Install the module

[](#install-the-module)

Then, run the following magento command:

```
php bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources.**

Support
-------

[](#support)

Raise a new [request](https://github.com/blackbird-agency/magento-2-data-model-sample/issues).

Authors
-------

[](#authors)

- **Blackbird Team** - *Contributor* - [They're awesome!](https://github.com/blackbird-agency)

Contact
-------

[](#contact)

For further information, contact us:

- by email:
- or by form: [https://black.bird.eu/en/contacts/](https://black.bird.eu/contacts/)

Licence
-------

[](#licence)

This project is licensed under the Blackbird Policy License - see the [LICENSE](./LICENSE) link for details.

***That's all folks!***

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~223 days

Total

3

Last Release

2530d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95669?v=4)[Thom](/maintainers/thomasklein)[@thomasklein](https://github.com/thomasklein)

---

Top Contributors

[![kevin-blackbird](https://avatars.githubusercontent.com/u/37531549?v=4)](https://github.com/kevin-blackbird "kevin-blackbird (4 commits)")[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (4 commits)")

---

Tags

phppersistencemagentomagento2sampledata model

### Embed Badge

![Health badge](/badges/blackbird-module-data-model-sample/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-module-data-model-sample/health.svg)](https://phpackages.com/packages/blackbird-module-data-model-sample)
```

###  Alternatives

[redchamps/module-clean-admin-menu

It will merge all third party extensions menu items to single menu item named 'Extensions'.

164416.3k](/packages/redchamps-module-clean-admin-menu)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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