{"id":18271726,"url":"https://github.com/pokeb/fuzzy-record","last_synced_at":"2025-04-05T02:30:40.601Z","repository":{"id":475017,"uuid":"100232","full_name":"pokeb/fuzzy-record","owner":"pokeb","description":"PHP Active Record implementation with a Rails-like API","archived":false,"fork":false,"pushed_at":"2009-01-18T14:24:36.000Z","size":266,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T11:54:09.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://allseeing-i.com/FuzzyRecord","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pokeb.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-01-03T15:16:29.000Z","updated_at":"2019-08-13T13:51:14.000Z","dependencies_parsed_at":"2022-07-14T14:01:01.572Z","dependency_job_id":null,"html_url":"https://github.com/pokeb/fuzzy-record","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Ffuzzy-record","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Ffuzzy-record/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Ffuzzy-record/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Ffuzzy-record/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pokeb","download_url":"https://codeload.github.com/pokeb/fuzzy-record/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247279255,"owners_count":20912851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-05T11:39:28.749Z","updated_at":"2025-04-05T02:30:40.070Z","avatar_url":"https://github.com/pokeb.png","language":"PHP","readme":"Documentation is available \"here\":http://allseeing-i.com/FuzzyRecord.\r\n\r\nh3. What is FuzzyRecord?\r\n\r\nFuzzyRecord is an Object-Relational-Mapping (ORM) system for PHP applications, based on the Active record design pattern, most famously used in Ruby On Rails. It has a friendly API leveraging some of the new features in PHP 5.3 behind the scenes.\r\n\r\nh3. What is FuzzyRecord not?\r\n\r\nFuzzyRecord is NOT an MVC framework for PHP. It only provides a mechanism for storing an querying model objects (objects that store your application's data).\r\n\r\nh3. Important note\r\n\r\nFuzzyRecord should be considered a work in progress. Some features are incomplete, and it will contain bugs. The API is bound to change in some places in the future. Use at your own risk!\r\n\r\nh3. Requirements\r\n\r\n* PHP 5.3+ (Earlier versions are NOT supported)\r\n* PDO-MySQL and / or PDO-PGSQL\r\n* MySQL or PostgreSQL database server\r\n\r\nh3. Optional\r\n\r\n* Memcache PHP extension and server\r\n\r\nh3. Main features\r\n\r\n* Friendly Rails-like API (eg: $user-\u003ephotos, User::find_by_email() etc)\r\n* Simple setup - many models will need no logic\r\n* Support for property validation (length, regex, email addresses etc)\r\n* File properties for storing files on a local disk\r\n* Handles relationships between objects, including cascade updates / deletes (currently one_to_many and belongs_to are supported)\r\n* Can be used with auto increment primary keys as well as non-integer and composite primary keys\r\n* Can cache model data in memory using a temporary store, and / or a persistent Memcached store \r\n* Explict or automatic transactions - rollback multiple actions accross the DB and cache stores\r\n* Can generate a DB schema from your models\r\n* Based on PDO for DB portability\r\n* Includes lots of unit tests\r\n\r\nh3. Coming soon\r\n\r\n* Better documentation\r\n* Write more tests\r\n* Many to many relationships without a joining table model\r\n* Full-text searching\r\n* Support for multiple find clauses with the same operator + field (eg: find_all_by_email_like_and_email_like())\r\n* Support for other databases (SQLite?)\r\n\r\nh3. Further future\r\n\r\n* DB-native foreign key constraints\r\n* Auto-generated admin system","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokeb%2Ffuzzy-record","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpokeb%2Ffuzzy-record","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokeb%2Ffuzzy-record/lists"}