{"id":15277430,"url":"https://github.com/aididalam/codeigniter-eloquent-orm","last_synced_at":"2026-01-05T02:34:09.912Z","repository":{"id":57678726,"uuid":"491211117","full_name":"aididalam/Codeigniter-Eloquent-ORM","owner":"aididalam","description":"Eloquent ORM intrigatted in Codeigniter 3","archived":false,"fork":false,"pushed_at":"2023-03-28T10:34:03.000Z","size":510,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T01:42:06.893Z","etag":null,"topics":["codeigniter","codeigniter-eloquent","codeigniter-library","codeigniter-model","codeigniter-orm","eloquent","eloquent-orm"],"latest_commit_sha":null,"homepage":"","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/aididalam.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":"2022-05-11T17:31:33.000Z","updated_at":"2022-06-23T06:59:08.000Z","dependencies_parsed_at":"2024-11-14T14:33:02.781Z","dependency_job_id":"781084b9-9523-4e2f-8a02-54eda0284866","html_url":"https://github.com/aididalam/Codeigniter-Eloquent-ORM","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"803204a0bb0db3220baebaee3ecf14ca8c9a7bfa"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aididalam%2FCodeigniter-Eloquent-ORM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aididalam%2FCodeigniter-Eloquent-ORM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aididalam%2FCodeigniter-Eloquent-ORM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aididalam%2FCodeigniter-Eloquent-ORM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aididalam","download_url":"https://codeload.github.com/aididalam/Codeigniter-Eloquent-ORM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044494,"owners_count":20551898,"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":["codeigniter","codeigniter-eloquent","codeigniter-library","codeigniter-model","codeigniter-orm","eloquent","eloquent-orm"],"created_at":"2024-09-30T11:06:13.253Z","updated_at":"2026-01-05T02:34:09.865Z","avatar_url":"https://github.com/aididalam.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Codeigniter 3.1.0 Integrated with Illuminate Database Eloquent\n\n### Requires\n\nphp: \u003e=5.3.7\n\n### Installation\n\nInstall the Illuminate Database package with Composer:\n\n```sh\n$ composer install\n```\n\n### Using The Eloquent ORM\n\n**Example:**\n\nModel\n\n```php\n\u003c?php\nuse \\Illuminate\\Database\\Eloquent\\Model as Eloquent;\n\nclass User extends Eloquent{\n    protected $table = 'users';\n\n}\n```\n\nController\n\n```php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n\nclass Home extends CI_Controller {\n\n\tpublic function index()\n\t{\n\t\t$this-\u003eload-\u003emodel('user');\n\t\t$users = User::where('votes', '\u003e', 1)-\u003eget();\n\t\t$this-\u003eload-\u003eview('home/index', ['users' =\u003e $users]);\n\t}\n}\n```\n### Bonus\ndd() Function is also implemented;\nExample:\n```php\nclass Home extends CI_Controller {\n\n\tpublic function index()\n\t{\n\t\t$this-\u003eload-\u003emodel('user');\n\t\t$users = User::all();\n        dd($users);\n\t}\n}\n```\n\n### Documentation\n\n- [CodeIgniter documentation](http://www.codeigniter.com/user_guide/)\n\n- [Laravel framework - Eloquent documentation](https://laravel.com/docs/9.x/eloquent)\n\n\n### Inspired From\n\n- [codeigniter-eloquent](https://github.com/aduartem/codeigniter-eloquent/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faididalam%2Fcodeigniter-eloquent-orm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faididalam%2Fcodeigniter-eloquent-orm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faididalam%2Fcodeigniter-eloquent-orm/lists"}