adonisjs/lucid

AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more

TypeScript

1,226

1,658 commits

updated Sep 18, 2026

See the code

README

@adonisjs/lucid


gh-workflow-image npm-image license-image

Introduction

SQL ORM for AdonisJS built on top of Knex. Comes with a db query builder, Active record ORM, migrations, seeders and model factories.

Official Documentation

The documentation is available on the Lucid website

Contributing

One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the contribution guide before contributing to the framework.

Run tests locally

Easiest way to run tests is to launch the redis cluster using docker-compose and docker-compose.yml file.

docker-compose up -d
npm run test

Code of Conduct

In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the Code of Conduct.

License

AdonisJS Lucid is open-sourced software licensed under the MIT license.

active-record
first-party-package
knexjs

adonisjs/lucid

AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more

TypeScript

1,226

1,658 commits

updated Sep 18, 2026

See the code

README

@adonisjs/lucid


gh-workflow-image npm-image license-image

Introduction

SQL ORM for AdonisJS built on top of Knex. Comes with a db query builder, Active record ORM, migrations, seeders and model factories.

Official Documentation

The documentation is available on the Lucid website

Contributing

One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the contribution guide before contributing to the framework.

Run tests locally

Easiest way to run tests is to launch the redis cluster using docker-compose and docker-compose.yml file.

docker-compose up -d
npm run test

Code of Conduct

In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the Code of Conduct.

License

AdonisJS Lucid is open-sourced software licensed under the MIT license.

active-record
first-party-package
knexjs

Project health

Overall

4.3/10

Maintained

5/10

Code review

3/10
OpenSSF Scorecard

Latest release

22.4.2 · Apr 5, 2026

Releases this year

10

Significant stargazers

Nikita

5,038 followers · starred Jul 2021

Tanguy Krotoff

145 followers · starred Dec 2020

Faris Ansari

322 followers · starred Oct 2020

Bobby Iliev

1,186 followers · starred Nov 2021