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

0515[3 issues](https://github.com/cptechinc/dplus-model/issues)PHP

Since Feb 22Pushed 3w 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 2d ago

READMEChangelogDependenciesVersions (7)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 68% of packages

Maintenance62

Regular maintenance activity

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

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 (892 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

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

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

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

Reliese Components for Laravel Framework code generation.

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

PHPackages © 2026

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