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

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

bendozy/orm
===========

A simple agnostic php ORM

2561[1 issues](https://github.com/andela-cijeomah/simpleorm/issues)PHP

Since Oct 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/andela-cijeomah/simpleorm)[ Packagist](https://packagist.org/packages/bendozy/orm)[ RSS](/packages/bendozy-orm/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/44fd2863366a3406b110f395694da5512efe2a05d6463828a66d50f4a0db483d/68747470733a2f2f7472617669732d63692e6f72672f616e64656c612d63696a656f6d61682f73696d706c656f726d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/andela-cijeomah/simpleorm)

\#Simple ORM A simple lightweight php Object Relational Mapper(ORM) done according to the [The PHP League way](https://thephpleague.com/)

\#Testing The phpunit framework for testing is used to perform unit test on the classes. The TDD principle has been employed

Run this on bash to execute the tests

```
/vendor/phpunit/phpunit/phpunit
```

\#Install

- To install this package, PHP 5.5.9+ and Composer are required

```
composer require bendozy/orm
```

\#usage

- Save a record in the database

```
$user = new User();
$user->username = "Marcus";
$user->password = "password";
$user->email = "Marcus@andela.com";
$user->save();

```

- Find a record

```
$user = User::find($id);

```

- Update a record

```
$user = User::find($id);
$user->password = "passwordagain";
$user->username = "helloandela";
$user->save();

```

- Delete a record -- returns a boolean

```
$result = User::destroy($id):

```

- Find a record based on column value

```
$user = User::where('username', 'john');
``````

## Change log
Please refer to [CHANGELOG](CHANGELOG.mds) file for information on what has changed recently.

## Contributing
Please check out [CONTRIBUTING](CONTRIBUTING.md) file for detailed contribution guidelines.

## Credits
Simple ORM is maintained by [Chidozie Ijeomah](https://github.com/andela-cijeomah).

## License
Simple ORM is released under the MIT Licence. See the bundled [LICENSE](LICENSE.md) file for details.

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/443b388bfe51d8d00038295c49d7a88a0eb294b5cb6482168fb0947b0576c58e?d=identicon)[andela-cijeomah](/maintainers/andela-cijeomah)

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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