PHPackages                             woohoolabs/worm - 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. woohoolabs/worm

ActiveLibrary[Database &amp; ORM](/categories/database)

woohoolabs/worm
===============

Woohoo Labs. Worm ORM

0.7.4(5y ago)24015[1 PRs](https://github.com/woohoolabs/worm/pulls)MITPHPPHP ^7.4.0||^8.0.0CI passing

Since Feb 3Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/woohoolabs/worm)[ Packagist](https://packagist.org/packages/woohoolabs/worm)[ RSS](/packages/woohoolabs-worm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (8)Versions (13)Used By (0)

Woohoo Labs. Worm
=================

[](#woohoo-labs-worm)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0fa3ce26f92f09442ffed798ed289afbb23ef3e24fdd991f51866791c6cc990e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f6f686f6f6c6162732f776f726d2e737667)](https://packagist.org/packages/woohoolabs/worm)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/67cc182ebb959abd1667ac9982d4df225ccc26bdb04a8a8b32b9aded6c17a371/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f776f6f686f6f6c6162732f776f726d2f436f6e74696e756f7573253230496e746567726174696f6e)](https://github.com/woohoolabs/worm/actions)[![Coverage Status](https://camo.githubusercontent.com/81a67c4d13157d25a84a899eac1b87e71b4880b4677ef4b8ac801461ce1ecc82/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f776f6f686f6f6c6162732f776f726d)](https://codecov.io/gh/woohoolabs/worm)[![Quality Score](https://camo.githubusercontent.com/08f0ab528c535edaa2d6dd6bb8f5cd1b087655f16f26c29992c210dd7956dd5b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776f6f686f6f6c6162732f776f726d2e737667)](https://scrutinizer-ci.com/g/woohoolabs/worm)[![Total Downloads](https://camo.githubusercontent.com/6b12b2050e2deb1dc5c454cd857a0025e339fc25a50da88cd06520942a9e32e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776f6f686f6f6c6162732f776f726d2e737667)](https://packagist.org/packages/woohoolabs/worm)[![Gitter](https://camo.githubusercontent.com/642eb157fd5b57547a3e3633a45cd1ce1058861ac461a4536e296af6dd510de2/68747470733a2f2f6261646765732e6769747465722e696d2f776f6f686f6f6c6162732f776f726d2e737667)](https://gitter.im/woohoolabs/worm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

**Woohoo Labs. Worm is an efficient and minimal ORM enabling data mapping.**

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Install](#install)
- [Basic Usage](#basic-usage)
- [Advanced Usage](#advanced-usage)
- [Examples](#examples)
- [Versioning](#versioning)
- [Change Log](#change-log)
- [Contributing](#contributing)
- [Support](#support)
- [Credits](#credits)
- [License](#license)

Introduction
------------

[](#introduction)

Install
-------

[](#install)

The steps of this process are quite straightforward. The only thing you need is [Composer](https://getcomposer.org).

#### Add Worm to your composer.json:

[](#add-worm-to-your-composerjson)

To install this library, run the command below and you will get the latest version:

```
$ composer require woohoolabs/worm
```

> Note: The tests and examples won't be downloaded by default. You have to use `composer require woohoolabs/worm --prefer-source`or clone the repository if you need them.

Basic Usage
-----------

[](#basic-usage)

Advanced Usage
--------------

[](#advanced-usage)

Examples
--------

[](#examples)

Have a look at the [examples directory](https://github.com/woohoolabs/worm/blob/master/examples/) for a really basic example. Don't forget to run `composer install` first in Worm's root directory if you want to try it out!

Versioning
----------

[](#versioning)

This library follows [SemVer v2.0.0](https://semver.org/).

Change Log
----------

[](#change-log)

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

Testing
-------

[](#testing)

Worm has a PHPUnit test suite. To run the tests, run the following command from the project folder:

```
$ phpunit
```

Additionally, you may run `docker-compose up` or `make test` to execute the tests.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Support
-------

[](#support)

Please see [SUPPORT](SUPPORT.md) for details.

Credits
-------

[](#credits)

- [Máté Kocsis](https://github.com/kocsismate)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance54

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

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

Recently: every ~77 days

Total

11

Last Release

2152d ago

PHP version history (4 changes)0.1.0PHP ^7.0.0

0.5.0PHP ^7.1.0

0.7.0PHP ^7.4.0

0.7.4PHP ^7.4.0||^8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b84c2c00735d2c7408e53566b0a622d39998be610bc02856e1b887d40f7a8024?d=identicon)[woohoolabs](/maintainers/woohoolabs)

---

Top Contributors

[![kocsismate](https://avatars.githubusercontent.com/u/6057627?v=4)](https://github.com/kocsismate "kocsismate (193 commits)")

---

Tags

data-mapperhydratoridentity-mapormphpunit-of-workormdata mapperWoohoo Labs.Object relational mapperWorm

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/woohoolabs-worm/health.svg)

```
[![Health](https://phpackages.com/badges/woohoolabs-worm/health.svg)](https://phpackages.com/packages/woohoolabs-worm)
```

###  Alternatives

[cycle/orm

PHP DataMapper ORM and Data Modelling Engine

1.3k835.4k65](/packages/cycle-orm)[laravel-doctrine/migrations

Doctrine Migrations for Laravel

782.8M16](/packages/laravel-doctrine-migrations)[laravel-doctrine/acl

ACL for Laravel and Doctrine

44445.3k7](/packages/laravel-doctrine-acl)[laravel-doctrine/fluent

A fluent PHP mapping driver for Doctrine2.

43430.3k13](/packages/laravel-doctrine-fluent)[wayofdev/laravel-cycle-orm-adapter

🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.

3516.7k3](/packages/wayofdev-laravel-cycle-orm-adapter)[thewunder/corma

Convention-based Alternative ORM

3317.3k1](/packages/thewunder-corma)

PHPackages © 2026

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