PHPackages                             sideshow\_bob/model - 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. sideshow\_bob/model

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

sideshow\_bob/model
===================

A PHP model interfaces

1.0.3(10y ago)029mitPHPPHP &gt;=5.4

Since Feb 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sideshowcecil/php-model)[ Packagist](https://packagist.org/packages/sideshow_bob/model)[ RSS](/packages/sideshow-bob-model/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

PHP Model
=========

[](#php-model)

A PHP model interface

[![Build Status](https://camo.githubusercontent.com/944e69e6870f9cd89aeb54b0a2d5818147c0e9277dd769f27f11a22efd1d2a4b/68747470733a2f2f7472617669732d63692e6f72672f7369646573686f77636563696c2f7068702d6d6f64656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sideshowcecil/php-model)

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
php composer.phar require "sideshow_bob/model:~1.0.0"
```

Usage
-----

[](#usage)

The project provides interfaces that allow to model databases or HTTP API endpoints easily. As an example we have added an implementation for the [Redmine API](http://www.redmine.org/projects/redmine/wiki/Rest_api) based on the [Redmine Client](https://packagist.org/packages/kbsali/redmine-api) by kbsali. The example can be found in the `examples` directory.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

3712d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9081e4d54c467a06883ac5693582ad8b8cccfd0d3cc8b42f26eb0d23d24b793?d=identicon)[sideshow\_bob](/maintainers/sideshow_bob)

---

Top Contributors

[![sideshowcecil](https://avatars.githubusercontent.com/u/1133175?v=4)](https://github.com/sideshowcecil "sideshowcecil (21 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sideshow-bob-model/health.svg)

```
[![Health](https://phpackages.com/badges/sideshow-bob-model/health.svg)](https://phpackages.com/packages/sideshow-bob-model)
```

###  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)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[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)[usmanhalalit/laracsv

A Laravel package to easily generate CSV files from Eloquent model.

6151.7M4](/packages/usmanhalalit-laracsv)

PHPackages © 2026

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