PHPackages                             cptechinc/dplus-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. cptechinc/dplus-model

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

cptechinc/dplus-model
=====================

Propel 2.0 built ORM classes for Dplus data(x) databases based

0517[3 issues](https://github.com/cptechinc/dplus-model/issues)[1 PRs](https://github.com/cptechinc/dplus-model/pulls)PHPCI failing

Since Feb 22Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/cptechinc/dplus-model)[ Packagist](https://packagist.org/packages/cptechinc/dplus-model)[ RSS](/packages/cptechinc-dplus-model/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (8)Used By (0)

Welcome to Dplus Online
=======================

[](#welcome-to-dplus-online)

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

[](#table-of-contents)

1. [Model Classes](#model-classes)
2. [Model Query Classes](#model-query-classes)

Model Classes
-------------

[](#model-classes)

The Model classes under \_Model\_ are children of the same-named classes under *Model\\Base*however, the Model Classes have extra functionality in terms of the applications, but also are able to make use of aliases for the column (property) names. For instance the Customer class has the property **arcucustid** which corresponds to the Customer ID, you can call for it via `$customer->id` or `$customer->custID`; The Model Classes themselves have a constant `COLUMN_ALIASES` which have an key (alias) and a value (actual property)

```
const COLUMN_ALIASES = array(
    'id        => 'arcucustid',
    'custid  => 'arcucustid',
);

```

Each Model class is provided with the MagicMethodTraits so you can look up columns by the aliases defined for that Model, and extra functionality such as Get the actual column name, Does column / alias exist, Ability to get / set values using the aliases.

Model Query Classes
-------------------

[](#model-query-classes)

The Model classes under \_Model\_ are children of the same-named classes under *Model\\Base*however, the Model Classes have extra functionality for the applications The Query Model class may have the QueryTraits which provide functionality to be able to use the Propel Methods of `findByXXX()`, `findOneByXXX()`, `requireOneByXXX()`, `filterByXXX()`, `orderByXXX()`, and `groupByXXX()` methods but with the Alias as the XXX so we don't have to clutter up the Model Query class file with a method for each method for each aliase needed, instead we just Add the **QueryTraits** class which will handle grabbing the correct column to provide the functionality requested.

\*\*Unfortunately, the `findByXXX()`, `findOneByXXX()`, `requireOneByXXX()`, `filterByXXX()`, `orderByXXX()`, and `groupByXXX()` functions only work with single value arguments, currently arrays or objects are not supported \*\*

The Model Query also lets you execute Custom SQL without hassle

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance61

Regular maintenance activity

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc1ee2a375c194dd984551ff8b10582149e7932f56914f319302af7eaf3464f?d=identicon)[Pauldro](/maintainers/Pauldro)

---

Top Contributors

[![Pauldro](https://avatars.githubusercontent.com/u/5648224?v=4)](https://github.com/Pauldro "Pauldro (895 commits)")[![bbullemer](https://avatars.githubusercontent.com/u/23062225?v=4)](https://github.com/bbullemer "bbullemer (107 commits)")

### Embed Badge

![Health badge](/badges/cptechinc-dplus-model/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

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

8441.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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