{"id":13401378,"url":"https://github.com/elvishp2006/carbon-field-rest-api-select","last_synced_at":"2026-01-14T00:27:12.138Z","repository":{"id":32931977,"uuid":"146807560","full_name":"elvishp2006/carbon-field-rest-api-select","owner":"elvishp2006","description":"Add a rest_api_select field.","archived":false,"fork":false,"pushed_at":"2025-12-12T02:49:14.000Z","size":1003,"stargazers_count":10,"open_issues_count":23,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-13T09:49:27.729Z","etag":null,"topics":["carbon-fields","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elvishp2006.png","metadata":{"files":{"readme":"README.md","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,"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":"2018-08-30T21:16:40.000Z","updated_at":"2024-09-30T12:42:42.000Z","dependencies_parsed_at":"2023-10-02T05:32:35.264Z","dependency_job_id":"1d4b6994-1064-47d4-8299-d48285331f02","html_url":"https://github.com/elvishp2006/carbon-field-rest-api-select","commit_stats":{"total_commits":77,"total_committers":4,"mean_commits":19.25,"dds":0.4675324675324676,"last_synced_commit":"636373a482778e1a098900ee2ba529a4bfdf07f9"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/elvishp2006/carbon-field-rest-api-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elvishp2006%2Fcarbon-field-rest-api-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elvishp2006%2Fcarbon-field-rest-api-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elvishp2006%2Fcarbon-field-rest-api-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elvishp2006%2Fcarbon-field-rest-api-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elvishp2006","download_url":"https://codeload.github.com/elvishp2006/carbon-field-rest-api-select/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elvishp2006%2Fcarbon-field-rest-api-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","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":["carbon-fields","wordpress"],"created_at":"2024-07-30T19:01:02.089Z","updated_at":"2026-01-14T00:27:12.120Z","avatar_url":"https://github.com/elvishp2006.png","language":"JavaScript","funding_links":[],"categories":["Fields (Carbon Fields 2+)"],"sub_categories":[],"readme":"# Carbon Field REST API Select\n\nDisponibilize the ```rest_api_select``` field that fill options using the WP REST API.\n\n## Installing\n\n```\ncomposer require elvishp2006/carbon-field-rest-api-select\n```\n\n## Example\n\n```php\nField::make( 'rest_api_select', 'id', __( 'Post' ) )\n    -\u003eset_endpoint_label_path( 'title.rendered' ) // Default: 'title.rendered'\n    -\u003eset_endpoint_value_path( 'id' )             // Default 'id'\n    -\u003eset_endpoint_search_param( 'search' )       // Default 'search'\n    -\u003eset_endpoint_params(\n        [\n            'per_page' =\u003e 20,\n            'orderby'  =\u003e 'relevance',\n        ]\n    )\n    -\u003eset_endpoint( rest_url( 'wp/v2/posts' ) )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felvishp2006%2Fcarbon-field-rest-api-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felvishp2006%2Fcarbon-field-rest-api-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felvishp2006%2Fcarbon-field-rest-api-select/lists"}