Cycle Database
Cycle Database: A self-hosted PHP database layer for building and inspecting common SQL queries. Ranked #35 of 51 in Database Query Builders by our editors (5.5/10); pricing: Free plan; best for PHP teams needing common CRUD and pagination queries.
At a glance
- Editor score5.5 / 10
- PricingFree plan
- Best forPHP teams needing common CRUD and pagination queries
- Free planYes
- Paid fromNone
- Type safetyNone
- Facts checked4 Oct 2026
Where it wins
- Builds select, insert, update and delete queries with fluent conditions.
- Supports joins, aggregation, pagination and JSON field query methods.
- Targets five SQL dialects and exposes generated SQL for inspection.
Where it doesn't
- Requires a PHP application and self-hosted deployment.
- Offers no type safety in its query-building interface.
- Its focus is relational query building, not a hosted database service.
Our verdict on Cycle Database
Cycle Database is a PHP database abstraction layer used by Cycle ORM and Spiral Framework. It is suited to PHP developers who want a common interface for routine database operations rather than writing each query entirely as raw SQL. Its builders cover select, insert, update and delete, with fluent conditions and parameter support. The library is self-hosted, so it fits teams incorporating database access into their own PHP applications, not buyers seeking a managed query service.
The query-building scope is broad enough for many application queries: joins, ordering, grouping, aggregation and pagination are available alongside JSON field methods. Nested condition groups help express more involved filters, while SQL fragments and expressions allow explicit SQL within a built query. For developers who need to inspect or control the resulting statement, generated SQL can be viewed through sqlStatement, and direct database queries can use parameterized SQL. Supported dialects are MySQL, MariaDB, PostgreSQL, SQL Server and SQLite, giving PHP projects a shared interface across those systems.
Cycle Database is open source and has a free plan, and it is a library rather than a hosted product. Its practical appeal is therefore in its query interface and dialect coverage, not managed deployment or a tiered service offering. The absence of type safety may matter to teams that want compile-time guarantees around query construction. PHP teams building conventional CRUD and pagination workflows can consider it; teams seeking a hosted database tool or a type-safe query layer should look elsewhere.
Your product? Our editors can test Cycle Database in depth and publish a review, labelled as paid · from $99/mo →
Cycle Database pricing
Cycle Database fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Languages | PHP |
| SQL dialects | MySQL, MariaDB, PostgreSQL, SQL Server, SQLite |
| Type safety | None |
| Async queries | Not verified |
| Raw SQL support | Yes |
| Compile without execution | Yes |
| Deployment | Self-hosted |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | cycle-orm.dev |
| Facts checked | 4 Oct 2026 |
Alternatives to Cycle Database
- jOOQA fluent SQL framework for JVM teams that want generated, type-safe database access.9.3
- SQLAlchemySQL construction, ORM, and database services for Python applications.9.1
- JetBrains ExposedA free, open-source Kotlin library with a type-safe SQL DSL and JDBC and R2DBC access.9.0
See all Cycle Database alternatives →
Used Cycle Database? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Cycle Database for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Cycle Database is listed in our Database Query Builders directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/cycle-database/"><img src="https://www.itechguides.com/best/badge/cycle-database.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. How we rank.
Last updated · How we research and update
