{"id":19414052,"url":"https://github.com/wpscholar/flex-fields","last_synced_at":"2025-07-28T20:09:35.200Z","repository":{"id":25705729,"uuid":"104931750","full_name":"wpscholar/flex-fields","owner":"wpscholar","description":"A library for working with fields in WordPress","archived":false,"fork":false,"pushed_at":"2023-03-15T04:09:45.000Z","size":6035,"stargazers_count":10,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T19:34:52.961Z","etag":null,"topics":["wordpress","wordpress-development","wordpress-php-library"],"latest_commit_sha":null,"homepage":"","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/wpscholar.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}},"created_at":"2017-09-26T19:59:45.000Z","updated_at":"2023-09-08T08:25:27.000Z","dependencies_parsed_at":"2024-11-10T12:37:50.778Z","dependency_job_id":"04215cae-0cc3-49a9-a62a-0d3c7e01f47e","html_url":"https://github.com/wpscholar/flex-fields","commit_stats":{"total_commits":168,"total_committers":5,"mean_commits":33.6,"dds":"0.22619047619047616","last_synced_commit":"f973e0f312388a376d3d7f5fafdcc6e21f114cd1"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/wpscholar/flex-fields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpscholar%2Fflex-fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpscholar%2Fflex-fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpscholar%2Fflex-fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpscholar%2Fflex-fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpscholar","download_url":"https://codeload.github.com/wpscholar/flex-fields/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpscholar%2Fflex-fields/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267578003,"owners_count":24110351,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["wordpress","wordpress-development","wordpress-php-library"],"created_at":"2024-11-10T12:36:02.487Z","updated_at":"2025-07-28T20:09:35.180Z","avatar_url":"https://github.com/wpscholar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flex Fields\n\nA library for working with fields in WordPress.\n\n## Installation\n\n- Run `composer require wpscholar/flex-fields`\n- Make sure you require the `vendor/autoload.php` file in your project.\n\n## Usage\n\n### Register a field\n\n```php\n\u003c?php\n\nregister_flex_field(\n  'email_address',                      // The field name\n  [                                     // The field arguments\n    'field' =\u003e 'input',  \n    'type' =\u003e 'email',\n    'value' =\u003e 'john.doe@gmail.com',\n  ],\n  'default'                             // The group name, defaults to 'default'\n);\n```\n\n### Render a field\n\n```php\n\u003c?php\n\nrender_flex_field(\n  'email_address',  // Field name \n  'default'         // The group name, defaults to 'default'\n);\n```\n\n## Maintainers \n\n\u003ca href=\"https://github.com/wpscholar\"\u003e  \n    \u003cimg src=\"https://avatars.githubusercontent.com/u/890951?v=4\u0026s=60\" alt=\"Micah Wood\" style=\"border-radius:50%;\" /\u003e\n\u003c/a\u003e\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n\u003ca href=\"https://github.com/wpscholar/flex-fields/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=wpscholar/flex-fields\" alt=\"project contributors\"/\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpscholar%2Fflex-fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpscholar%2Fflex-fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpscholar%2Fflex-fields/lists"}