{"id":28839436,"url":"https://github.com/coldbox-modules/quick","last_synced_at":"2026-04-01T20:52:06.496Z","repository":{"id":39632988,"uuid":"98744481","full_name":"coldbox-modules/quick","owner":"coldbox-modules","description":"A ColdBox ORM Engine","archived":false,"fork":false,"pushed_at":"2026-03-21T03:09:33.000Z","size":3425,"stargazers_count":23,"open_issues_count":79,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-21T18:52:58.061Z","etag":null,"topics":["cfml","coldbox","database","hacktoberfest","orm"],"latest_commit_sha":null,"homepage":"https://quick.ortusbooks.com","language":"ColdFusion","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coldbox-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-29T16:18:23.000Z","updated_at":"2026-03-21T03:09:37.000Z","dependencies_parsed_at":"2024-03-22T04:23:53.624Z","dependency_job_id":"80472f47-76ab-460f-bddc-d213744131a6","html_url":"https://github.com/coldbox-modules/quick","commit_stats":null,"previous_names":[],"tags_count":160,"template":false,"template_full_name":null,"purl":"pkg:github/coldbox-modules/quick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fquick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fquick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fquick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fquick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldbox-modules","download_url":"https://codeload.github.com/coldbox-modules/quick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldbox-modules%2Fquick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cfml","coldbox","database","hacktoberfest","orm"],"created_at":"2025-06-19T14:41:14.694Z","updated_at":"2026-04-01T20:52:06.488Z","avatar_url":"https://github.com/coldbox-modules.png","language":"ColdFusion","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"/quick300.png\" /\u003e\u003cbr /\u003e\n    \u003ca href=\"https://travis-ci.org/coldbox-modules/quick\"\u003e\u003cimg src=\"https://travis-ci.org/coldbox-modules/quick.svg?branch=master\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## A CFML ORM Engine\n\n### Why?\n\nQuick was built out of lessons learned and persistent challenges in developing complex RDBMS applications using built-in Hibernate ORM in CFML.\n\n-   Hibernate ORM error messages often obfuscate the actual cause of the error because they are provided directly by the Java classes.\n-   Complex CFML Hibernate ORM applications can consume significant memory and processing resources, making them cost-prohibitive and inefficient when used in microservices architecture.\n-   Hibernate ORM is tied to the engine releases. This means that updates come infrequently and may be costly for non-OSS engine users.\n-   Hibernate ORM is built in Java. This limits contributions from CFML developers who don't know Java or don't feel comfortable contributing to a Java project.\n-   Hibernate ORM doesn't take advantage of a lot of dynamic- and meta-programming available in CFML. \\(Tools like CBORM have helped to bridge this gap.\\)\n\nWe can do better.\n\n### What?\n\nQuick is an ORM \\(Object Relational Mapper\\) written in CFML for CFML. It provides an [ActiveRecord](https://en.wikipedia.org/wiki/Active_record_pattern) implementation for working with your database. With it you can map database tables to components, create relationships between components, query and manipulate data, and persist all your changes to your database.\n\n### Prerequisites\n\nYou need the following configured before using Quick:\n\n-   Configure a default datasource in your CFML engine\n-   ColdBox 6+\n-   Add a mapping for `quick` in your `Application.cfc`\n-   Configure your `BaseGrammar` in `config/ColdBox.cfc`\n\nSee [Getting Started](https://quick.ortusbooks.com/guide/getting-started) for more details.\n\n### Supported Databases\n\nQuick supports all databases supported by [qb](https://qb.ortusbooks.com).\n\n### Example\n\nHere's a \"quick\" example to whet your appetite.\n\nWe'll show the database structure using a [migrations file](https://forgebox.io/view/commandbox-migrations). This isn't required to use `quick`, but it is highly recommended.\n\n```javascript\n// 2017_11_10_122835_create_users_table.cfc\ncomponent {\n\n    function up() {\n        schema.create( \"users\", function( table ) {\n            table.increments( \"id\" );\n            table.string( \"username\" ).unique();\n            table.string( \"email\" ).unique();\n            table.string( \"password\" );\n            table.timestamp( \"createdDate\" );\n            table.timestamp( \"updatedDate\" );\n        } );\n    }\n\n}\n```\n\n```javascript\n// User\ncomponent extends=\"quick.models.BaseEntity\" {\n\n    // the name of the table is the pluralized version of the model\n    // this can be configured on a per-entity basis\n\n}\n```\n\n```javascript\n// handlers/Users.cfc\ncomponent {\n\n    // /users/:id\n    function show( event, rc, prc ) {\n        // this finds the User with an id of 1 and retrieves it\n        prc.user = getInstance( \"User\" ).findOrFail( rc.id );\n        event.setView( \"users/show\" );\n    }\n\n}\n```\n\n```markup\n\u003c!-- views/users/show.cfm --\u003e\n\u003ccfoutput\u003e\n    \u003ch1\u003eHi, #prc.user.getUsername()#!\u003c/h1\u003e\n\u003c/cfoutput\u003e\n```\n\nNow that you've seen an example, [dig in to what you can do](https://quick.ortusbooks.com/) with Quick!\n\n### Tests and Contributing\n\nTo run the tests, first clone this repo and run a `box install`.\n\nQuick's test suite runs specifically on MySQL, so you will need a MySQL database to run the tests.\nIf you do not have one, Docker provides an easy way to start one.\n\n```sh\ndocker run -d --name quick -p 3306:3306 -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=quick -e MYSQL_USER=quick -e MYSQL_PASSWORD=quick mysql:5\n```\n\nFinally, copy the `.env.example` file to `.env` and fill in the values for your database.\n\n### Prior Art, Acknowledgements, and Thanks\n\nQuick is backed by [qb](https://www.forgebox.io/view/qb). Without qb, there is no Quick.\n\nQuick is inspired heavily by [Eloquent in Laravel](https://laravel.com/docs/5.6/eloquent). Thank you Taylor Otwell and the Laravel community for a great library.\n\nDevelopment of Quick is sponsored by Ortus Solutions. Thank you Ortus Solutions for investing in the future of CFML.\n\n\n## Community and Support\nJoin us in our Ortus Community and become a valuable member of this project [Quick ORM](https://community.ortussolutions.com/c/communities/quick-orm/23). We are looking forward to hearing from you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldbox-modules%2Fquick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldbox-modules%2Fquick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldbox-modules%2Fquick/lists"}