{"id":37014923,"url":"https://github.com/buchin/indodata","last_synced_at":"2026-01-14T01:29:47.710Z","repository":{"id":56951456,"uuid":"75357828","full_name":"buchin/indodata","owner":"buchin","description":"Data Provinsi-Kota-Kecamatan-Kabupaten se Indonesia memakai PHP","archived":false,"fork":false,"pushed_at":"2016-12-04T06:21:03.000Z","size":1444,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-11T17:23:51.125Z","etag":null,"topics":[],"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/buchin.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}},"created_at":"2016-12-02T03:40:11.000Z","updated_at":"2019-09-18T06:35:35.000Z","dependencies_parsed_at":"2022-08-21T03:40:27.102Z","dependency_job_id":null,"html_url":"https://github.com/buchin/indodata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buchin/indodata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Findodata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Findodata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Findodata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Findodata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buchin","download_url":"https://codeload.github.com/buchin/indodata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Findodata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-14T01:29:46.968Z","updated_at":"2026-01-14T01:29:47.690Z","avatar_url":"https://github.com/buchin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tentang Indo Data\nDatabase apa saja yang berhubungan dengan indonesia. Memakai Eloquent Model sehingga mendukung relationship Has Many dan Belongs to.\n\n## Instalasi dengan Composer\n```bash\ncomposer require buchin/indodata\n```\n## Contoh Penggunaan\n```php\nuse Buchin\\Indodata\\Province;\nuse Buchin\\Indodata\\City;\nuse Buchin\\Indodata\\District;\nuse Buchin\\Indodata\\Village;\n\n// Initialize Capsule. Required to initialize DB connection.\n$capsule = new Capsule;\n\n\n// Relationship: Belongs To\n// Get village\n$village = Village::first();\n\n// Get district\n$district = $village-\u003edistrict;\n\n// Get City\n$city = $district-\u003ecity;\n\n// Get Province\n$province = $city-\u003eprovince();\n\n// Chainable\n$province = $village-\u003edistrict-\u003ecity-\u003eprovince;\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Findodata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuchin%2Findodata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Findodata/lists"}