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

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

ride/cli-orm
============

ORM commands for the Ride CLI

1.1.0(9y ago)04.7kMITPHP

Since Jan 14Pushed 9y ago7 watchersCompare

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

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

Ride: ORM CLI
=============

[](#ride-orm-cli)

This module adds various ORM commands to the Ride CLI.

Commands
--------

[](#commands)

### orm define

[](#orm-define)

This command generates tables in the database for the defined models.

**Syntax**: `orm define`

**Alias**: `od`

### orm generate

[](#orm-generate)

This command generates the classes for all defined models.

**Syntax**: `orm generate`

**Alias**: `og`

### orm model

[](#orm-model)

With this command, you can search in the available models.

**Syntax**: `orm model []`

- ``: Query to search the models with

### orm model get

[](#orm-model-get)

Use this command to display the definition of the provided model.

**Syntax**: `orm model get `

- ``: Name of the model

### orm entries update

[](#orm-entries-update)

This command updates all entries of a given model, changing only their dateModified.

Use this command to save all entries in bulk, regenerating the automated fields.

**Syntax**: `orm entries update `

- ``: Name of the model to update the entries from

### orm files delete

[](#orm-files-delete)

This command deletes all files on the file system which are no longer used in the models.

**Syntax**: `orm files delete [--dry]`

- `--dry`: Add flag to see the files which will be deleted without actually deleting them

Related Modules
---------------

[](#related-modules)

- [ride/app](https://github.com/all-ride/ride-app)
- [ride/app-orm](https://github.com/all-ride/ride-app-orm)
- [ride/cli](https://github.com/all-ride/ride-cli)
- [ride/lib-cli](https://github.com/all-ride/ride-lib-cli)
- [ride/lib-orm](https://github.com/all-ride/ride-lib-system)

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

[](#installation)

You can use [Composer](http://getcomposer.org) to install this application.

```
composer require ride/cli-orm

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% 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 ~145 days

Recently: every ~151 days

Total

8

Last Release

3491d ago

Major Versions

0.5.0 → 1.0.02016-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d98d3f0d5db5eb241c6ee74bcee87d1e7dc1aaf7942b933d68e612ee2352eea?d=identicon)[ride-user](/maintainers/ride-user)

---

Top Contributors

[![kayalion](https://avatars.githubusercontent.com/u/2340819?v=4)](https://github.com/kayalion "kayalion (17 commits)")[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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