{"id":19879566,"url":"https://github.com/openclassify/list-field_type","last_synced_at":"2025-07-24T12:35:03.684Z","repository":{"id":62544585,"uuid":"265886186","full_name":"openclassify/list-field_type","owner":"openclassify","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-27T12:17:06.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T04:21:00.025Z","etag":null,"topics":[],"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/openclassify.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":"2020-05-21T15:36:55.000Z","updated_at":"2022-06-13T11:20:04.000Z","dependencies_parsed_at":"2022-11-02T22:01:03.250Z","dependency_job_id":null,"html_url":"https://github.com/openclassify/list-field_type","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclassify%2Flist-field_type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclassify%2Flist-field_type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclassify%2Flist-field_type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclassify%2Flist-field_type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openclassify","download_url":"https://codeload.github.com/openclassify/list-field_type/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309105,"owners_count":19941724,"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":[],"created_at":"2024-11-12T17:08:51.810Z","updated_at":"2025-03-01T02:41:29.159Z","avatar_url":"https://github.com/openclassify.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README #\n\n### What is this repository for? ###\n\nA simple list field-type for Pyrocms 3 that allows you to add dynamic lists to items without end users breaking the layout.\n\nReorder, Add more lines, remove them\n\n### How do I use this? ###\n\nReturns an array of values\n{{ visiosoft.field_type.list.values }}\n\nReturns the number of list items\n{{ visiosoft.field_type.list.count }}\n\n# Configuration\n\nBelow is the full configuration available with defaults.\n\n    protected $fields = [\n        \"example\" =\u003e [\n            \"type\"   =\u003e \"emange.field_type.list\",\n            \"config\" =\u003e [\n                \"min\" =\u003e null,\n                \"max\" =\u003e null\n            ]\n        ]\n    ];\n\n\u003chr\u003e\n\n\u003ca name=\"basic\"\u003e\u003c/a\u003e\n## Basic Configuration\n\n### Default Value\n\n    \"default_type\" =\u003e \"text\"\n\nThe `default_value` allows you to set the input type for validation. Supports text and email.\n\n\u003chr\u003e\n\n# Usage\n\n## Setting Values\n\nYou must set the list field type value with a value or values from the available options.\n\n    $entry-\u003eexample = \"foo\";\n\nYou can set multiple values with an array.\n\n    $entry-\u003eexample = [\"foo\", \"bar\"];\n\n\u003chr\u003e\n\n\u003ca name=\"output\"\u003e\u003c/a\u003e\n## Basic Output\n\nThe list field type returns an array of values.\n\n    $entry-\u003eexample-\u003evalues; // [\"foo\", \"bar\"];","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclassify%2Flist-field_type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenclassify%2Flist-field_type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclassify%2Flist-field_type/lists"}