PHPackages                             c-lod/siesta - 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. c-lod/siesta

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

c-lod/siesta
============

PHP 7 ORM Library

1.4.4(5y ago)08MITPHPPHP &gt;=7.1.0

Since Oct 4Pushed 5y agoCompare

[ Source](https://github.com/ClaudioPlusDental/siesta)[ Packagist](https://packagist.org/packages/c-lod/siesta)[ Docs](https://gperler.github.io)[ RSS](/packages/c-lod-siesta/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (6)Versions (42)Used By (0)

Siesta stored procedure based ORM for PHP 7
===========================================

[](#siesta-stored-procedure-based-orm-for-php-7)

[![License](https://camo.githubusercontent.com/0efeb35c7c8914746ee282c34a2986873619efb1c4c1ac43e1c8283733aa8724/68747470733a2f2f706f7365722e707567782e6f72672f676d3331342f7369657374612f6c6963656e7365)](https://packagist.org/packages/gm314/siesta)[![Latest Stable Version](https://camo.githubusercontent.com/faa7d9166a6f48154d52a22b105f49914f1736245abb1e5cdae630aae86fffdd/68747470733a2f2f706f7365722e707567782e6f72672f676d3331342f7369657374612f762f737461626c65)](https://packagist.org/packages/gm314/siesta)[![Total Downloads](https://camo.githubusercontent.com/ba72d559d20cec4c21c58aea0dfb3a1c76242d7023e95d501b7c9a6e83076da2/68747470733a2f2f706f7365722e707567782e6f72672f676d3331342f7369657374612f646f776e6c6f616473)](https://packagist.org/packages/gm314/siesta)[![Latest Unstable Version](https://camo.githubusercontent.com/b26c1e09e5ba03dba69682018a83c69cc474d68fe67b9c252cb3ac4ba12ffd29/68747470733a2f2f706f7365722e707567782e6f72672f676d3331342f7369657374612f762f756e737461626c65)](https://packagist.org/packages/gm314/siesta)

Stored procedure based ORM for PHP 7.

Documentation
=============

[](#documentation)

For full documentation, please visit

Installation with composer
==========================

[](#installation-with-composer)

```
composer require gm314/siesta

```

Example
=======

[](#example)

In this example we create an Artist and Label entity, and configure the relationship between them:

```
$artist = new Artist();
$artist->setName("Jamie Woon");

$label = new Label();
$label->setName("PMR");
$label->setCity("London");
$label->addToArtistList($artist);

// save with cascade. will store both label and artist
$label->save(true);
```

Console Commands
================

[](#console-commands)

create config file

```
vendor/bin/siesta init

```

generate entities

```
vendor/bin/siesta gen

```

reverse engineer

```
vendor/bin/siesta reverse

```

Testing
=======

[](#testing)

configure your database settings in tests/siesta.test.mysql.config.json

```
vendor/bin/codecept run

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% 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 ~60 days

Recently: every ~165 days

Total

34

Last Release

1935d ago

Major Versions

0.5.3 → 1.0.02016-07-21

PHP version history (3 changes)0.1.0.PHP &gt;=5.3.9

1.0.0PHP &gt;=7.0.0

1.4.1PHP &gt;=7.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/109333694?v=4)[c-lod](/maintainers/c-lod)[@c-lod](https://github.com/c-lod)

---

Top Contributors

[![gperler](https://avatars.githubusercontent.com/u/4823172?v=4)](https://github.com/gperler "gperler (232 commits)")[![ClaudioPlusDental](https://avatars.githubusercontent.com/u/57627012?v=4)](https://github.com/ClaudioPlusDental "ClaudioPlusDental (1 commits)")[![mattcannon](https://avatars.githubusercontent.com/u/173341?v=4)](https://github.com/mattcannon "mattcannon (1 commits)")

---

Tags

ormObject relational mapperSiesta

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/c-lod-siesta/health.svg)

```
[![Health](https://phpackages.com/badges/c-lod-siesta/health.svg)](https://phpackages.com/packages/c-lod-siesta)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

2411.8k](/packages/perplorm-perpl)

PHPackages © 2026

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