PHPackages                             icaine/flunorette - 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. icaine/flunorette

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

icaine/flunorette
=================

Database layer based on Nette/Database, FluendPdo and NotOrm.

v1.0.2(11y ago)54823[1 issues](https://github.com/icaine/flunorette/issues)BSD-3-ClausePHP

Since May 27Pushed 10y ago3 watchersCompare

[ Source](https://github.com/icaine/flunorette)[ Packagist](https://packagist.org/packages/icaine/flunorette)[ RSS](/packages/icaine-flunorette/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

[![Build Status](https://camo.githubusercontent.com/6a7f5f88c1576d00f7de8da43706b11ca1c08c1b851bde6c35d81c1c97ca229d/68747470733a2f2f7472617669732d63692e6f72672f696361696e652f666c756e6f72657474652e7376673f7461673d312e302e32)](https://travis-ci.org/icaine/flunorette) [![Downloads Total](https://camo.githubusercontent.com/0fd661e9fe407d429ff1ee1bf07b4427d12538fd7bf510e6d7ec557dd8347047/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696361696e652f666c756e6f72657474652e737667)](https://camo.githubusercontent.com/0fd661e9fe407d429ff1ee1bf07b4427d12538fd7bf510e6d7ec557dd8347047/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696361696e652f666c756e6f72657474652e737667) [![Latest Version](https://camo.githubusercontent.com/a9fa013a2f50551bb7ae8516df2939f57af720c2fff8f8cb0ede832b36192830/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696361696e652f666c756e6f72657474652e737667)](https://camo.githubusercontent.com/a9fa013a2f50551bb7ae8516df2939f57af720c2fff8f8cb0ede832b36192830/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696361696e652f666c756e6f72657474652e737667)

What is Flunorette?
===================

[](#what-is-flunorette)

**Flunorette**

- is a **database layer** simplifying work with tables, relations and CRUD operations.
- is heavily based on **[Nette Database](http://doc.nette.org/en/2.0/database) ([Table](http://doc.nette.org/en/2.0/database-table))** - NDB(T) and uses modified **[FluentPDO](http://fluentpdo.com)** as SQL builder.
- is derived directly from NDB(T)2.0 thus it's like on 95% compatible with it\[1\]
- **uses the same syntax/API as NDBT2.0** but takes faster code from NDBT2.1.

*The main reason i decided to create Flunorette was that NDBT is superior for simple websites like blogs but with complex web apps you sooner or later hit the wall. E.g. as soon as you need create queries with conditions inside JOIN clauses or any other advance queries there is no way how to achieve it with NDBT*.

\[1\]: Flunorette has a replacer that can help you with replacing NDB(T)2.0.

---

Download
--------

[](#download)

Via composer `composer require icaine/flunorette '~1.0'` or via [github](https://github.com/icaine/flunorette/releases).

Documentation
-------------

[](#documentation)

Can be found on [wiki pages](https://github.com/icaine/flunorette/wiki).

\###Examples

Some examples are on [wiki pages](https://github.com/icaine/flunorette/wiki) and even more examples can be seen in [tests](https://github.com/icaine/Flunorette/tree/master/tests).

---

Change log
----------

[](#change-log)

**1.6.2014** - Some classes moved to new namespaces (towards PSR-4). To migrate from 0.9 to 1.0 use:

```
	//BC part

	//https://github.com/icaine/RenamedClassLoader
	$rcLoader = new iCaine\RenamedClassLoader([
		'Flunorette\\NetteDatabaseReplacer' => 'Flunorette\\Bridges\\Nette\\NetteDatabaseReplacer',
		'Flunorette\\Hydrator' => 'Flunorette\\Hydrators\\Hydrator',
		'Flunorette\\HydratorSelectionDefault' => 'Flunorette\\Hydrators\\HydratorSelection',
		'Flunorette\\HydratorArrayHash' => 'Flunorette\\Hydrators\\HydratorArrayHash',
		'Flunorette\\HydratorResult' => 'Flunorette\\Hydrators\\HydratorField',

		'Flunorette\\ActiveRow' => 'Flunorette\\Selections\\ActiveRow',
		'Flunorette\\Selection' => 'Flunorette\\Selections\\Selection',
		'Flunorette\\GroupedSelection' => 'Flunorette\\Selections\\GroupedSelection',
		'Flunorette\\ISelectionFactory' => 'Flunorette\\Selections\\ISelectionFactory',
		'Flunorette\\SelectionFactory' => 'Flunorette\\Selections\\SelectionFactory',

		'Flunorette\\DeleteQuery' => 'Flunorette\\Queries\\DeleteQuery',
		'Flunorette\\InsertQuery' => 'Flunorette\\Queries\\InsertQuery',
		'Flunorette\\JoinableQuery' => 'Flunorette\\Queries\\JoinableQuery',
		'Flunorette\\Query' => 'Flunorette\\Queries\\Query',
		'Flunorette\\QueryBuilder' => 'Flunorette\\Queries\\QueryBuilder',
		'Flunorette\\QueryContext' => 'Flunorette\\Queries\\QueryContext',
		'Flunorette\\SelectQuery' => 'Flunorette\\Queries\\SelectQuery',
		'Flunorette\\UpdateQuery' => 'Flunorette\\Queries\\UpdateQuery',

		'Flunorette\\IReflection' => 'Flunorette\\Reflections\\IReflection',
		'Flunorette\\ConventionalReflection' => 'Flunorette\\Reflections\\ConventionalReflection',
		'Flunorette\\DiscoveredReflection' => 'Flunorette\\Reflections\\DiscoveredReflection',
		'Flunorette\\ReflectionException' => 'Flunorette\\Reflections\\ReflectionException',

	]);
    $rcLoader->onClassLoaded[] = function ($old, $new) {
        trigger_error($old, E_USER_DEPRECATED);
    };
    $rcLoader->register();

	//If you are using the replacer
	//Flunorette\NetteDatabaseReplacer::replace();
	//end BC part
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~9 days

Total

5

Last Release

4328d ago

Major Versions

v0.9 → v1.0.02014-06-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1388807?v=4)[icaine](/maintainers/icaine)[@icaine](https://github.com/icaine)

---

Top Contributors

[![icaine](https://avatars.githubusercontent.com/u/1388807?v=4)](https://github.com/icaine "icaine (47 commits)")

---

Tags

databasemysql

### Embed Badge

![Health badge](/badges/icaine-flunorette/health.svg)

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

###  Alternatives

[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)

PHPackages © 2026

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