PHPackages                             schneidermanuel/dynalinker - 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. schneidermanuel/dynalinker

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

schneidermanuel/dynalinker
==========================

A simple ORM and .ENV Library

1.0.16(2y ago)035MITPHP

Since Oct 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/schneidermanuel/DynaLinker)[ Packagist](https://packagist.org/packages/schneidermanuel/dynalinker)[ RSS](/packages/schneidermanuel-dynalinker/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (16)Used By (0)

DynaLinker
==========

[](#dynalinker)

This is a minimalistic library for creating simple php applications.

### Features

[](#features)

- Minimalistic ORM
- Environment Variables
- Call mapping

### Basic usage:

[](#basic-usage)

Get the Singleton Dynalinker object and use its functions to generate all the objects. Supports caching.

```
$dynalinker = Dynalinker::Get();
```

#### Minimalistic ORM

[](#minimalistic-orm)

> Only Supports MySQL and MariaDB

Create an Entity class an annotate it with the Entity attribute, providing the table name as parameter. Annotate every property with persist and provide the column name as attribute. Properties without the persist attribute won't be stored on the database. Put the PrimaryKey Attribute on exactly one attribute to mark it as primary key.

```
#[Entity("user")]
class TestEntity
{
    #[Persist("userId")]
    #[PrimaryKey]
    public $testProperty;

    #[Persist("userName")]
    public $name;
    #[Persist("pwHash")]
    public $hash;
}
```

Generate a store object for the entity. Each store object is only responsible for one entity. Basic CRUD-Actions are available on it.

```
$store = $dynalinker->CreateStore(TestEntity::class);
$entity = new TestEntity();
$entity->name = "Test";
$entity->hash = "FJAF";
$id = $store->SaveOrUpdate($entity);
var_dump($store->LoadById($id));
```

#### Environment Variables

[](#environment-variables)

Once, Dynalinker::Get(); has been called, all Variables from a .env file lying on the same directory as the composer folder will be available in the $\_ENV superglobal.

#### Call mapping

[](#call-mapping)

Will be done soon

### License

[](#license)

MIT License.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

15

Last Release

949d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57318033?v=4)[Manuel Schneider](/maintainers/schneidermanuel)[@schneidermanuel](https://github.com/schneidermanuel)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/schneidermanuel-dynalinker/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[cable8mm/xeed

Xeed generates new model, seed, Nova resources, database seed, factory and migration files for Laravel &amp; Nova based on data from the existing database table.

872.5k](/packages/cable8mm-xeed)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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