{"id":20187232,"url":"https://github.com/mdsaad13/crud-redbean","last_synced_at":"2026-05-30T20:31:29.479Z","repository":{"id":116571807,"uuid":"211129905","full_name":"mdsaad13/Crud-Redbean","owner":"mdsaad13","description":"Examples of crud operation with classes using redbean ORM ","archived":false,"fork":false,"pushed_at":"2022-01-17T00:21:01.000Z","size":821,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T07:36:23.472Z","etag":null,"topics":["bootstrap4","class","crud","crud-sample","mdsaad13","oops","php","redbean","redbeanphp"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdsaad13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-09-26T16:06:46.000Z","updated_at":"2024-01-08T14:56:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d030386e-be7b-4cd4-9076-b12a38885164","html_url":"https://github.com/mdsaad13/Crud-Redbean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdsaad13/Crud-Redbean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsaad13%2FCrud-Redbean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsaad13%2FCrud-Redbean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsaad13%2FCrud-Redbean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsaad13%2FCrud-Redbean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsaad13","download_url":"https://codeload.github.com/mdsaad13/Crud-Redbean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsaad13%2FCrud-Redbean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33709269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bootstrap4","class","crud","crud-sample","mdsaad13","oops","php","redbean","redbeanphp"],"created_at":"2024-11-14T03:22:09.253Z","updated_at":"2026-05-30T20:31:29.452Z","avatar_url":"https://github.com/mdsaad13.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crud-Redbean\nExamples of crud operation with classes using redbean ORM \n#### Step 1 : Include the class file \n```php \nrequire_once 'class.php'; \n```\n#### Step 2 : Create object of class [Operations](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php#L17) \n```php \n$db = new Operations; \n```\n#### All detailed examples are in`examples branch`\n# Some basic operations\n- [insert](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php#L30) operation  \n```php \n$db-\u003einsert(string 'table_name', array $array_of_fields_to_insert);\n```\n\n- [update](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php#L49) operations\n```php \n$db-\u003eupdate(string 'tablename', array $array_containing_fields, int $id);\n```\n\n- [delete](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php#L67) operations\n```php \n$db-\u003edelete(string 'tablename', int $id);\n```\n\n- [select](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php#L81) operations\n```php \n$db-\u003eSelectByID(string 'tablename', int $id);\n```\n#### Refer [controllers/class.php](https://github.com/mdsaad13/Crud-Redbean/blob/a07d6135f698d8c236597420e13d40ce5b8e9aef/controllers/class.php) for more operations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsaad13%2Fcrud-redbean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsaad13%2Fcrud-redbean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsaad13%2Fcrud-redbean/lists"}