ORMs & Query Builders Packages
Object-relational mappers and SQL query builders that turn database access into type-safe, maintainable code (Prisma, SQLAlchemy, Drizzle).
Packages in ORMs & Query Builders
Kind
Sort:Used by Most Apps
sea-query
A dynamic SQL query builder for Rust that constructs MySQL, Postgres, and SQLite queries as safe, composable abstract syntax trees.
PyHive
Python DB-API and SQLAlchemy interfaces for querying Apache Hive, Presto, and Trino.
Laravel Sluggable
An opinionated Laravel package that generates unique, self-healing slugs for Eloquent models on save.
migrate
A minimal, storage-agnostic migration framework for Node.js with both a CLI and a programmatic API.
Redis OM Python
Declarative object mapping, validation, and rich querying for Redis in Python.
BelongsToThrough
Inverse HasManyThrough relationships for Laravel Eloquent with unlimited intermediate models
Compoships
Composite and multi-column key relationships for Laravel's Eloquent ORM.
django-treebeard
Efficient tree-structured models for Django, with three interchangeable storage backends behind one manager API.
djangoql
Advanced search language for the Django admin, with auto-completion, joins, and logical operators.
Watson Rememberable
Simple, expressive query caching for Laravel Eloquent - cache any query's results with a single remember() call.
Laravel Schemaless Attributes
Add NoSQL-style schemaless attributes to Eloquent models, stored in a single JSON column.
Eloquent JSON Relations
Laravel Eloquent relationships that use JSON keys instead of dedicated foreign-key columns
Laravel PostgreSQL Enhanced
Adds PostgreSQL-specific migration, query builder, and Eloquent features Laravel leaves out
polyglot-sql
Rust/Wasm-powered SQL transpiler that parses, formats, and translates SQL across more than 30 dialects.
ramsey/uuid-doctrine
Use ramsey/uuid UUIDs as native Doctrine field types for your entity identifiers.
diesel_async
An async extension for Diesel that adds fully asynchronous query execution to Rust's type-safe ORM, with native PostgreSQL, MySQL, and SQLite connections.
versionable
Laravel model versioning made easy: track every Eloquent model change and revert to previous versions.
django-postgres-extra
Brings PostgreSQL's advanced features (atomic upserts, table partitioning, materialized views, HStore) to the Django ORM with fully automatic migrations.
django-ordered-model
An abstract Django model mixin that keeps rows ordered relative to each other, with admin drag-style controls and DRF support.
nestjs-paginate
Pagination, filtering, sorting, and search helper for TypeORM repositories in NestJS.
LdapRecord
A fully-featured, ActiveRecord-style LDAP ORM for PHP supporting Active Directory, OpenLDAP, and FreeIPA.
pydruid
A Python client for Apache Druid, with a query-builder DSL, sync and async clients, and a DB API 2.0 / SQLAlchemy dialect.
django-multiselectfield
Django model and form fields for storing multiple selected choices in a single comma-separated column.
laravel-model-flags
Add lightweight, queryable boolean flags to Eloquent models without adding a migration column for every piece of state you need to track.