PHPackages                             smgladkovskiy/jelly - 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. smgladkovskiy/jelly

ActiveKohana-module[Database &amp; ORM](/categories/database)

smgladkovskiy/jelly
===================

A flexible ORM for Kohana 3.1+

3.1.1(11y ago)051PHP

Since Jan 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/smgladkovskiy/jelly)[ Packagist](https://packagist.org/packages/smgladkovskiy/jelly)[ RSS](/packages/smgladkovskiy-jelly/feed)WikiDiscussions 3.3/master Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Jelly is a nice little ORM for Kohana 3.1+. The project was originally started by [Jonathan Geiger](http://jonathan-geiger.com/) and co-developed by [Paul Banks](http://blog.banksdesigns.co.uk/).

IMPORTANT
=========

[](#important)

**Critical to know**:

- use the `3.x/master` branches for production as the `3.x/develop` branches are subject to frequent and major changes
- userguide is being updated

**Requirements**

Jelly requires the following Kohana versions per Git branch:

- `3.1/develop` and `3.1/master` branches: Kohana 3.1.3+
- `3.2/develop` and `3.2/master` branches: Kohana 3.2+

**Useful stuff**:

- [Jelly driver for Kohana Auth](https://github.com/creatoro/jelly-auth)
- [Report an issue or feature request](https://github.com/creatoro/jelly/issues)
- [Leave feedback in the forum](http://forum.kohanaframework.org/discussion/9833/jelly-for-kohana-3.2-auth-driver)

**Get involved in Jelly's developement**

As Jelly has always been a community project it's development and future depends on people who are willing to put some time into it. The easiest way to contribute is to fork the project.

Remember:

- you can directly edit files on GitHub (look for the `Edit this file` button), there's no need to get familiar with Git if you don't want to
- please follow the [Kohana conventions](http://kohanaframework.org/3.2/guide/kohana/conventions) for coding
- read the introduction to the unit tests in the guide and run them if you make changes to Jelly to minimalize the chances of introducing new bugs
- and thanks for helping Jelly become better!

Notable Features
----------------

[](#notable-features)

- **Standard support for all of the common relationships** — This includes `belongs_to`, `has_many`, and `many_to_many`. Pretty much standard these days.
- **Top-to-bottom table column aliasing** – All references to database columns and tables are made via their aliased names and converted transparently, on the fly.
- **Active testing on MySQL and SQLite** — All of the Jelly unit tests work 100% correctly on both MySQL, SQLite and PostgresSQL databases.
- **A built-in query builder** — This features is a near direct port from Kohana's native ORM. I find its usage much simpler than Sprig's.
- **Extensible field architecture** — All fields in a model are represented by a `Field_*` class, which can be easily overridden and created for custom needs. Additionally, fields can implement behaviors that let the model know it has special ways of doing things.
- **No circular references** — Fields are well-designed to prevent the infinite loop problem that sometimes plagues Sprig. It's even possible to have same-table child/parent references out of the box without intermediate models.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

4191d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/128070?v=4)[Sergey Gladkovskiy](/maintainers/smgladkovskiy)[@smgladkovskiy](https://github.com/smgladkovskiy)

---

Top Contributors

[![smgladkovskiy](https://avatars.githubusercontent.com/u/128070?v=4)](https://github.com/smgladkovskiy "smgladkovskiy (24 commits)")[![banks](https://avatars.githubusercontent.com/u/120915?v=4)](https://github.com/banks "banks (15 commits)")[![creatoro](https://avatars.githubusercontent.com/u/116949?v=4)](https://github.com/creatoro "creatoro (10 commits)")[![nex2hex](https://avatars.githubusercontent.com/u/195595?v=4)](https://github.com/nex2hex "nex2hex (4 commits)")[![claudiuandrei](https://avatars.githubusercontent.com/u/882064?v=4)](https://github.com/claudiuandrei "claudiuandrei (4 commits)")[![dewos](https://avatars.githubusercontent.com/u/169822?v=4)](https://github.com/dewos "dewos (3 commits)")[![leth](https://avatars.githubusercontent.com/u/52370?v=4)](https://github.com/leth "leth (2 commits)")[![Lokaltog](https://avatars.githubusercontent.com/u/78438?v=4)](https://github.com/Lokaltog "Lokaltog (2 commits)")[![agentphoenix](https://avatars.githubusercontent.com/u/14422?v=4)](https://github.com/agentphoenix "agentphoenix (2 commits)")[![vitch](https://avatars.githubusercontent.com/u/9898?v=4)](https://github.com/vitch "vitch (1 commits)")[![jerfowler](https://avatars.githubusercontent.com/u/188159?v=4)](https://github.com/jerfowler "jerfowler (1 commits)")

### Embed Badge

![Health badge](/badges/smgladkovskiy-jelly/health.svg)

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

###  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.

8351.6M87](/packages/propel-propel1)[openbuildings/jam

Small but feature rich ORM, has extensible models and builders, baked in upload functionality, supporting multiple backends (rackspace, ftp), polymorphic associations, form builders, nested forms, validators

31181.3k16](/packages/openbuildings-jam)

PHPackages © 2026

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