PHPackages                             smeeckaert/fw-orm - 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. smeeckaert/fw-orm

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

smeeckaert/fw-orm
=================

ORM for FW

1.0.0.0(10y ago)0271[1 issues](https://github.com/smeeckaert/Orm/issues)1UnlicensePHP

Since Sep 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/smeeckaert/Orm)[ Packagist](https://packagist.org/packages/smeeckaert/fw-orm)[ RSS](/packages/smeeckaert-fw-orm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Orm
===

[](#orm)

This is a lightweight standalone ORM in PHP. It was primarly made to use for simple REST APIs.

What it does
------------

[](#what-it-does)

- Uses PDO as interface
- Provide Model helpers for CRUD
- Provide helpers to access relations
- Use PHPDoc as documentation
- Based on PHP, not in configuration.

What is not supported and won't be
----------------------------------

[](#what-is-not-supported-and-wont-be)

This library is willingly simplified.

If you want to use these features, there is plenty other ORM available that do it probably better !

- Transactions
- Complexes query. Queries are simple, you can't mix "OR" and "AND" in the ORM, even if you can "bypass" that.
- Relations. While there is some support for accessing or creatin model relations, it won't be near what other ORM can provide.
- Multiple databases.

Installation
------------

[](#installation)

Clone the depot and add the Orm namespace in your autoloader.

Then put database informations in your application bootstrap.

```
$dsn      = 'mysql:dbname=YOUR_DB;host=YOUR_HOST';
$user     = 'YOUR USER';
$password = 'YOUR_PASSWORD';
\Orm\DB::init($dsn, $user, $password);
```

Documentation
-------------

[](#documentation)

[See the wiki](https://github.com/smeeckaert/orm/wiki)

License
-------

[](#license)

Everything here is public domain.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

3893d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e31b65428ad9226e9f729a75cdedbd7b07ad19465d08b2c7172c93df773fdb2?d=identicon)[smeeckaert](/maintainers/smeeckaert)

### Embed Badge

![Health badge](/badges/smeeckaert-fw-orm/health.svg)

```
[![Health](https://phpackages.com/badges/smeeckaert-fw-orm/health.svg)](https://phpackages.com/packages/smeeckaert-fw-orm)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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