Open-source orm software
803 open-source libraries, tools and applications tagged orm, ranked by how closely orm is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.
803 products, primary matches first, then adoption-weighted; health v2 shown.
| Product | Health v2 | Stars | Maturity |
|---|---|---|---|
| aio-libs/aiopg aiopg is a Python library for accessing PostgreSQL databases from asyncio applications, wrapping the asynchronous features of the Psycopg d… | 44 | 1433 | active |
| apache/cassandra-python-driver The official Python client driver for Apache Cassandra (and DataStax Enterprise/Astra), communicating via Cassandra's binary protocol and C… | 70 | 1431 | stable |
| Astrotomic/laravel-translatable A Laravel package that adds multilingual support to Eloquent models by storing translations in a separate database table. It transparently … | 83 | 1429 | active |
| noripyt/django-cachalot A Django app that transparently caches Django ORM query results and automatically invalidates them when the underlying data changes. It req… | 80 | 1429 | active |
| nackjicholson/aiosql aiosql is a Python library that lets you write SQL queries in plain .sql files and load them into your application as callable methods, a p… | 76 | 1412 | active |
| rails/activeresource Active Resource is a Ruby library that maps model classes to remote REST web services, providing an object-relational-mapping-style wrapper… | 76 | 1407 | active |
| neo4jrb/activegraph ActiveGraph (formerly Neo4j.rb) is an Active Model-compliant object-graph mapper (OGM) for the Neo4j graph database in Ruby. It provides Ac… | 81 | 1405 | active |
| jawj/zapatos Zapatos is a TypeScript library providing zero-abstraction, fully typed access to Postgres. It generates a TypeScript schema from your data… | 48 | 1403 | active |
| teodevgroup/teo Teo is a high-performance, fully asynchronous ORM for Rust supporting MySQL, PostgreSQL, SQLite, and MongoDB. It offers ergonomic query API… | 59 | 1400 | active |
| guregu/dynamo An expressive DynamoDB client library for Go built on the official AWS SDK v2. It provides a fluent, struct-tag-based API for putting, gett… | 68 | 1388 | stable |
| troyzhxu/bean-searcher Bean Searcher is a read-only ORM framework for Java focused on declarative complex list queries, where entities define search boundaries an… | 90 | 1386 | active |
| treefrogframework/treefrog-framework TreeFrog Framework is a high-speed, full-stack C++ MVC web application framework built on Qt, supporting HTTP and WebSocket protocols. It p… | 87 | 1384 | active |
| event-driven-io/Pongo Pongo is a TypeScript library that provides a MongoDB-compatible document API backed by PostgreSQL, offering strong consistency guarantees.… | 78 | 1380 | active |
| aarondfrancis/fast-paginate A Laravel package providing a drop-in fastPaginate() macro that speeds up offset/limit pagination using a deferred-join-style subquery tech… | 44 | 1373 | stable |
| spatie/laravel-multitenancy An unopinionated Laravel package that makes a Laravel application tenant-aware, supporting single- or multi-database multitenancy. It handl… | 93 | 1372 | stable |
| sebastienros/yessql YesSql is a .NET document database library that stores documents and indexes in any relational database (SQL Server, PostgreSQL, MySQL, SQL… | 93 | 1364 | active |
| active-hash/active_hash A Ruby gem providing an ActiveRecord-like base class backed by in-memory hashes, YAML files, or custom file data sources instead of a datab… | 72 | 1355 | active |
| arterli/CmsWing CmsWing is a CMS and e-commerce website builder built on the Egg.js framework with Sequelize ORM and integrated GraphQL API generation. It … | 23 | 1355 | active |
| yiisoft/yii Yii 1.1.x is a high-performance, component-based PHP web framework for building web applications using an MVC architecture. It has reached … | 71 | 4824 | maintenance |
| webdevcody/wdc-saas-starter-kit A GitHub template repository providing a Next.js SaaS starter kit with authentication, Stripe subscription billing, Drizzle ORM with Postgr… | 45 | 1347 | active |
| kvesteri/sqlalchemy-utils A Python library providing various utility functions, custom data types, and helpers for SQLAlchemy. It extends the ORM with extra column t… | 88 | 1346 | active |
| bavix/laravel-wallet A PHP/Laravel package for managing virtual wallets with balances, transactions, multi-wallet support, purchases, and currency exchanges via… | 98 | 1335 | active |
| Cycle ORM Cycle ORM is a PHP DataMapper ORM and data modelling engine with a powerful query builder and dynamic mapping schema. It is designed to wor… | 98 | 1331 | stable |
| redis/redis-om-python Redis OM Python is a declarative object-mapping library for Redis that lets you model Redis data with Pydantic-based classes. It provides a… | 86 | 1316 | active |
| pardom-zz/ActiveAndroid ActiveAndroid is an active record style ORM for Android that wraps SQLite database records in model classes with save() and delete() method… | 32 | 4652 | maintenance |
| spatie/laravel-model-states A Laravel package that adds state machine support to Eloquent models, letting each state be a separate class with defined transitions. It h… | 89 | 1304 | stable |
| go2ismail/Asp.Net-Core-Inventory-Order-Management-System A warehouse and inventory management system (WMS) built on ASP.NET Core 9 with a headless API using Clean Architecture, CQRS, and MediatR. … | 62 | 1298 | active |
| dotnetcore/sharding-core ShardingCore is a high-performance, lightweight .NET library that adds table sharding, database sharding, and read-write separation to Enti… | 82 | 1287 | active |
| ScalikeJDBC ScalikeJDBC is a tidy SQL-based database access library for Scala that wraps JDBC APIs with easy-to-use, flexible APIs and a type-safe Quer… | 73 | 1279 | stable |
| ecederstrand/exchangelib A Python client library for Microsoft Exchange Web Services (EWS) that provides a Django-style ORM interface to Exchange mailboxes. It supp… | 63 | 1273 | active |
| propelorm/Propel2 Propel2 is an open-source, high-performance Object-Relational Mapping (ORM) library for modern PHP (7.4+/PHP8), built on code generation an… | 88 | 1269 | active |
| staudenmeir/belongs-to-through A Laravel Eloquent package that adds BelongsToThrough relationships, the inverse of HasManyThrough, with support for unlimited intermediate… | 66 | 1269 | active |
| keithwhor/nodal Nodal is an opinionated Node.js framework for building stateless, data-centric CRUD API services backed by PostgreSQL. It provides a full-s… | 32 | 4475 | maintenance |
| braisdom/ObjectiveSql ObjectiveSQL is a Java ORM framework based on the ActiveRecord pattern that lets developers write SQL expressions using Java syntax with mi… | 32 | 1259 | active |
| redis/redis-om-node Redis OM for Node.js is a TypeScript library that maps Redis data structures to JavaScript objects with a fluent, schema-based API. It supp… | 35 | 1257 | active |
| nunomaduro/essentials A Laravel package by Nuno Maduro that applies opinionated, better defaults to Laravel applications, such as strict Eloquent models, automat… | 65 | 1242 | active |
| RobinBlomberg/kysely-codegen A CLI tool that generates Kysely TypeScript type definitions by introspecting your database schema. It supports PostgreSQL, MySQL, SQLite, … | 60 | 1241 | active |
| emmett-framework/emmett Emmett is a full-stack asynchronous Python web framework designed for simplicity, including routing, an ORM, and validation tools. It is pr… | 94 | 1238 | active |
| DmitryTsepelev/store_model StoreModel is a Ruby gem that wraps JSON-backed database columns (like jsonb) with ActiveModel-like classes using the Rails Attributes API.… | 74 | 1234 | active |
| nestjsx/crud A NestJS microframework that generates full-featured CRUD controllers and services for RESTful APIs with decorators. It includes rich query… | 65 | 4322 | maintenance |
| jlongster/absurd-sql absurd-sql is a backend for sql.js (SQLite compiled to WebAssembly) that persists the database in IndexedDB by reading and writing it in sm… | 32 | 4318 | maintenance |
| topclaudy/compoships Compoships is a PHP library that extends Laravel's Eloquent ORM to support relationships based on two or more columns (composite keys). It … | 88 | 1228 | active |
| django-treebeard/django-treebeard django-treebeard is a Python library providing efficient tree data structure implementations for Django models. It offers multiple tree alg… | 75 | 1225 | stable |
| overtrue/laravel-follow A Laravel package that adds a user-based follow/unfollow system to Eloquent models via traits. It supports follow requests with approval, t… | 77 | 1221 | stable |
| li3 li₃ (formerly Lithium) is a full-stack PHP web framework built for rapid application development, featuring a unified ORM/ODM that works wi… | 36 | 1218 | active |
| layrjs/layr Layr is a full-stack JavaScript/TypeScript framework that dramatically simplifies full-stack development by letting frontend and backend sh… | 65 | 1217 | active |
| mWater/minimongo Minimongo is a client-side in-memory MongoDB clone for JavaScript/TypeScript with pluggable storage backends (Memory, LocalStorage, Indexed… | 65 | 1211 | active |
| coleifer/walrus Walrus is a lightweight Python library that subclasses and extends the redis-py client, acting as a drop-in replacement with added utilitie… | 47 | 1208 | active |
| li6185377/LKDBHelper-SQLite-ORM LKDBHelper is an automatic SQLite ORM library for iOS written in Objective-C, built on FMDB. It provides thread-safe automatic insert, quer… | 61 | 1205 | active |
| Laravel Love Laravel Love is a PHP package that adds social reaction functionality (likes, dislikes, and custom emotion types) to Laravel Eloquent model… | 72 | 1202 | active |
| andersao/l5-repository A Laravel package that implements the Repository pattern to abstract the database layer, providing base repositories, criteria, cache, vali… | 73 | 4196 | maintenance |
| cgriego/active_attr ActiveAttr is a Ruby gem providing composable modules that let you build plain Ruby objects with ActiveModel-compatible features like attri… | 60 | 1194 | active |
| dmaicher/doctrine-test-bundle A Symfony bundle that isolates Doctrine database tests by wrapping DBAL drivers with a StaticDriver and using a PHPUnit extension to begin … | 94 | 1193 | stable |
| wa8n/wblog wblog is a self-hosted personal blog application written in Go, built on the Gin web framework and GORM ORM with SQLite or MySQL storage. I… | 70 | 1187 | stable |
| valtyr/prisma-kysely A Prisma generator plugin that produces fully typed Kysely database types directly from your Prisma schema. It lets you keep Prisma's migra… | 94 | 1185 | active |
| michaeldyrynda/laravel-cascade-soft-deletes A Laravel package that adds cascading deletes to Eloquent models using soft deletes, restoring the ON DELETE CASCADE behavior lost when usi… | 69 | 1179 | active |
| tywalch/electrodb ElectroDB is a TypeScript library for AWS DynamoDB that simplifies modeling multiple entities and complex hierarchical relationships in a s… | 72 | 1178 | active |
| go-gormigrate/gormigrate Gormigrate is a minimalistic database schema migration helper library for the Gorm ORM in Go. It adds schema versioning and migration rollb… | 88 | 1176 | stable |
| ODMantic ODMantic is a sync and async Object Document Mapper (ODM) for MongoDB built on Python type hints and Pydantic for model definition and vali… | 75 | 1176 | active |
| aaberg/sql2o Sql2o is a small Java library that maps JDBC query results directly into POJOs with named parameter support, acting like an ORM without SQL… | 89 | 1168 | active |
| alirezanet/Gridify Gridify is a .NET dynamic LINQ library that converts text-based query strings into LINQ expressions for filtering, sorting, and pagination.… | 93 | 1165 | active |
| cornucopia-rs/cornucopia Cornucopia is a Rust code generator that produces type-checked Rust interfaces from PostgreSQL queries. It validates queries against a live… | 92 | 1164 | active |
| saintedlama/passport-local-mongoose A Mongoose plugin that simplifies building username and password login with Passport for Node.js applications. It adds username, hash, and … | 89 | 1164 | stable |
| ericdc1/Dapper.SimpleCRUD Dapper.SimpleCRUD is a small C# extension for the Dapper micro-ORM that adds simple CRUD helper methods (Get, GetList, Insert, Update, Dele… | 73 | 1161 | stable |
| mybatis/mybatis-dynamic-sql A typesafe SQL DSL library for Java and Kotlin that generates complete SELECT, INSERT, UPDATE, and DELETE statements with flexible WHERE cl… | 77 | 1160 | active |
| RxSwiftCommunity/RxRealm RxRealm is a Swift library that provides RxSwift extensions for RealmSwift types, turning Realm collections and objects into Observables. I… | 34 | 1159 | active |
| sagframe/sagacity-sqltoy sqltoy-orm is a Java ORM framework that combines JPA-style object CRUD with powerful, flexible SQL query capabilities. It provides advanced… | 97 | 1150 | active |
| encode/databases A Python library providing simple asyncio support for PostgreSQL, MySQL, and SQLite databases, with query building via the SQLAlchemy Core … | 10 | 3985 | maintenance |
| beda-software/drf-writable-nested A Python library providing writable nested model serializers for Django REST Framework, enabling creation and updates of models with relate… | 68 | 1139 | active |
| shioyama/mobility Mobility is a pluggable Ruby gem for storing and retrieving translated attributes on classes, supporting multiple storage backends such as … | 64 | 1139 | active |
| dotnetcore/SmartSql SmartSql is a MyBatis-inspired ORM for .NET that manages SQL in XML files with dynamic conditional tags, giving developers full control ove… | 82 | 1134 | active |
| dwightwatson/rememberable Rememberable is a PHP trait for Laravel's Eloquent ORM that adds a remember() method for caching database query results. It stores query re… | 62 | 1127 | active |
| huacnlee/rails-settings-cached A Ruby gem for Rails that stores global application settings as key-value pairs in the database, exposed through an ActiveRecord-like API w… | 85 | 1124 | active |
| makandra/active_type A Ruby gem that lets any Ruby object behave like an ActiveRecord model, with attributes, validations, and callbacks, without requiring a da… | 57 | 1122 | active |
| renoki-co/laravel-eloquent-query-cache A Laravel package that adds caching directly to Eloquent queries, restoring the removed remember() functionality. It caches query results a… | 48 | 1120 | active |
| pods-framework/pods Pods Framework is an open-source WordPress plugin and development framework for creating, extending, and managing custom content types, tax… | 96 | 1119 | active |
| ncruces/go-sqlite3 A cgo-free Go binding to SQLite that wraps a WebAssembly build of SQLite translated to Go via wasm2go. It provides a database/sql compatibl… | 96 | 1109 | active |
| tegojs/tego Tego is a pluggable Node.js/TypeScript framework for building customizable development platforms, enabling developers to create their own n… | 83 | 1104 | active |
| mpociot/teamwork A Laravel package that adds user-to-team associations with an invitation system via Eloquent models and migrations. It provides Team models… | 83 | 1098 | stable |
| doctrine/mongodb-odm Doctrine MongoDB ODM is the official PHP object document mapper for MongoDB, mapping PHP classes to MongoDB documents with support for embe… | 97 | 1097 | active |
| go-gorp/gorp gorp is a Go library that maps Go structs to relational database tables, generating insert/update/delete SQL and binding query results back… | 23 | 3742 | maintenance |
| neomodel Neomodel is an Object Graph Mapper (OGM) for the Neo4j graph database, built on the official Neo4j Python driver. It provides class-based m… | 91 | 1088 | active |
| tortoise/aerich Aerich is a database migration tool for TortoiseORM, similar to Alembic for SQLAlchemy or Django's built-in migrations. It provides a CLI t… | 89 | 1083 | active |
| cot-rs/cot Cot is a batteries-included Rust web framework inspired by Django, built on top of axum. It ships with its own ORM with automatic migration… | 86 | 1080 | active |
| staudenmeir/eloquent-json-relations A Laravel Eloquent extension that adds support for JSON foreign keys in relationships like BelongsTo, HasOne, HasMany, and morph variants. … | 80 | 1080 | active |
| jarektkaczyk/eloquence A PHP package providing extensions for Laravel's Eloquent ORM, including searchable fulltext queries across related models, self-validating… | 29 | 1080 | active |
| spatie/laravel-model-status A Laravel package that adds status tracking to Eloquent models via a HasStatuses trait. It stores status changes in a dedicated table, keep… | 66 | 1059 | stable |
| django-es/django-elasticsearch-dsl A Python package that indexes Django models into Elasticsearch, built as a thin wrapper around elasticsearch-dsl-py. It keeps Elasticsearch… | 34 | 1057 | active |
| squirephp/squire Squire is a PHP library providing static, read-only Eloquent models for common fixture data such as countries, currencies, airports, airlin… | 88 | 1054 | active |
| Realm Database Realm is an object-oriented mobile database that runs directly on phones, tablets, and wearables, serving as a replacement for SQLite and C… | 70 | 1052 | active |
| OP-Engineering/op-sqlite A high-performance SQLite library for React Native built on JSI, supporting iOS, Android, macOS, and web. It offers compile-time targets fo… | 88 | 1044 | active |
| tpetry/laravel-postgresql-enhanced A Laravel package that adds many PostgreSQL-specific features missing from Laravel's database layer, which normally targets the lowest comm… | 66 | 1038 | active |
| yahoo/elide Elide is a Java library that generates model-driven JSON-API and GraphQL web services from JPA-annotated data models with minimal effort. I… | 87 | 1032 | active |
| scylladb/gocqlx GocqlX is a Go library for working with ScyllaDB and Cassandra that combines a CQL query builder, struct-based ORM-style mapping, and a dat… | 72 | 1030 | active |
| ledermann/rails-settings A Ruby gem for Rails that manages per-record settings for ActiveRecord models, storing them as serialized hashes in a dedicated database ta… | 40 | 1028 | active |
| pinchbv/floor Floor is a typesafe, reactive, and lightweight SQLite abstraction library for Flutter applications, inspired by Android's Room persistence … | 23 | 1027 | active |
| alfateam/orange-orm Orange ORM is an Object Relational Mapper for Node.js, Bun, and Deno supporting TypeScript and JavaScript with an Active Record pattern and… | 96 | 1017 | active |
| Meteor-Community-Packages/meteor-collection2 A Meteor package that extends Mongo.Collection to attach schemas and automatically validate inserts and updates from client or server code.… | 91 | 1015 | active |
| gaarason/database-all An Eloquent-style ORM for Java providing ActiveRecord models, a query builder, and relationship declarations, inspired by Laravel's Eloquen… | 77 | 1014 | active |
| model-bakers/model_bakery Model Bakery is a Python library that provides smart object factories for creating Django model instances in tests. It auto-fills model fie… | 97 | 1005 | active |