PHPackages                             spaceonfire/data-source - 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. spaceonfire/data-source

Abandoned → [getwarp/data-source](/?search=getwarp%2Fdata-source)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

spaceonfire/data-source
=======================

Useful interfaces and abstracts to design your domain model

2.5.2(4y ago)11.7k2MITPHPPHP ^7.2|^8.0

Since Jun 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/spaceonfire/data-source)[ Packagist](https://packagist.org/packages/spaceonfire/data-source)[ Docs](https://github.com/spaceonfire/data-source)[ Fund](https://liberapay.com/hustlahusky)[ RSS](/packages/spaceonfire-data-source/feed)WikiDiscussions 2.5.x Synced 1mo ago

READMEChangelog (7)Dependencies (13)Versions (12)Used By (2)

DataSource by spaceonfire
=========================

[](#datasource-by-spaceonfire)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4038b24d8b06121f575e09d0723e346fefd1ed20aae034611211e46d0905f074/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73706163656f6e666972652f646174612d736f757263652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spaceonfire/data-source)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/12bbb8c3509cd05de42fe829d8d14903642e11ada421d3c73f8e7e01c3898633/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73706163656f6e666972652f646174612d736f757263652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spaceonfire/data-source)[![Code Coverage](https://camo.githubusercontent.com/97059cc1ae8ce21be9af1f0d0dd0f7dade4c7e93c86c48500fbd34671d7ff900/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742d7371756172652675726c3d6874747073253341253246253246676973742e67697468756275736572636f6e74656e742e636f6d253246687573746c616875736b792532466436323630376331613265343730373935396230313432653065613837366364253246726177253246646174612d736f757263652e6a736f6e)](https://camo.githubusercontent.com/97059cc1ae8ce21be9af1f0d0dd0f7dade4c7e93c86c48500fbd34671d7ff900/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742d7371756172652675726c3d6874747073253341253246253246676973742e67697468756275736572636f6e74656e742e636f6d253246687573746c616875736b792532466436323630376331613265343730373935396230313432653065613837366364253246726177253246646174612d736f757263652e6a736f6e)

This package provides useful interfaces to design your domain model.

Install
-------

[](#install)

Via Composer

```
$ composer require spaceonfire/data-source
```

Usage
-----

[](#usage)

**TODO:** add usage examples.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

[Report issues](https://github.com/spaceonfire/spaceonfire/issues) and [send Pull Requests](https://github.com/spaceonfire/spaceonfire/pulls) in the [main spaceonfire repository](https://github.com/spaceonfire/spaceonfire). Please see [CONTRIBUTING](https://github.com/spaceonfire/spaceonfire/blob/master/CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](https://github.com/spaceonfire/spaceonfire/blob/master/CODE_OF_CONDUCT.md) for details.

Credits
-------

[](#credits)

- [Constantine Karnaukhov](https://github.com/hustlahusky)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

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

Recently: every ~86 days

Total

12

Last Release

1506d ago

Major Versions

1.4.1 → 2.5.02021-04-21

2.5.x-dev → 3.0.x-dev2022-04-03

PHP version history (3 changes)1.0.0PHP ^7.2

1.3.1PHP ^7.2|^8.0

3.0.x-devPHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3947942?v=4)[Constantine Karnaukhov](/maintainers/tntrex)[@tntrex](https://github.com/tntrex)

---

Top Contributors

[![tntrex](https://avatars.githubusercontent.com/u/3947942?v=4)](https://github.com/tntrex "tntrex (33 commits)")

---

Tags

ddddomainentityphprepositoryqueryentitymapperrepositoryddddomain

### Embed Badge

![Health badge](/badges/spaceonfire-data-source/health.svg)

```
[![Health](https://phpackages.com/badges/spaceonfire-data-source/health.svg)](https://phpackages.com/packages/spaceonfire-data-source)
```

###  Alternatives

[aura/payload

A Domain Payload implementation.

56370.4k9](/packages/aura-payload)[aura/payload-interface

An interface package for Domain Payload implementations.

13392.7k4](/packages/aura-payload-interface)[treshugart/model

Model is a simple, lightweight and easy-to-use Domain Driven Entity framework.

171.4k](/packages/treshugart-model)[devco/model

Model is a simple, lightweight and easy-to-use Domain Driven Entity framework.

171.4k](/packages/devco-model)

PHPackages © 2026

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