{"id":13734880,"url":"https://github.com/octobercms/test-plugin","last_synced_at":"2025-04-12T19:42:01.307Z","repository":{"id":20833087,"uuid":"24119114","full_name":"octobercms/test-plugin","owner":"octobercms","description":"Test Suite \u0026 Playground for October CMS","archived":false,"fork":false,"pushed_at":"2024-10-23T23:43:11.000Z","size":652,"stargazers_count":134,"open_issues_count":4,"forks_count":95,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-24T11:27:52.607Z","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/octobercms.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":"2014-09-16T21:49:27.000Z","updated_at":"2024-10-23T23:43:15.000Z","dependencies_parsed_at":"2024-04-16T23:33:52.339Z","dependency_job_id":"8bbac713-6fa9-4878-a27d-171f0db10f3c","html_url":"https://github.com/octobercms/test-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Ftest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Ftest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Ftest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Ftest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octobercms","download_url":"https://codeload.github.com/octobercms/test-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625190,"owners_count":21135510,"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-08-03T03:01:00.802Z","updated_at":"2025-04-12T19:42:01.284Z","avatar_url":"https://github.com/octobercms.png","language":"PHP","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Test Plugin\n\nThis is a UI test plugin for October CMS.\n\n## Installation Instructions\n\nBefore installing this plugin, you will need to change your minimum stability to `dev` with composer.\n\n```bash\ncomposer config minimum-stability dev\n```\n\nRun the following to install this plugin:\n\n```bash\nphp artisan plugin:install October.Test --from=https://github.com/octobercms/test-plugin\n```\n\nIf you already have this plugin installed and need to update the database schema, run this command:\n\n```bash\nphp artisan plugin:refresh October.Test\n```\n\nTo uninstall this plugin:\n\n```bash\nphp artisan plugin:remove October.Test\n```\n\n## Tests\n\nThe following sections are explored, tested and demonstrated along with a list of the features used:\n\n### Test 1: People\n\nA Person \"Has One\" Phone (One to one relationship)\n\n1. Relation Controller\n1. Record Finder\n1. Proxy Form fields\n1. Date pickers\n1. Context-based Form fields\n\n### Test 2: Posts\n\nA Post \"Has Many\" Comments (One to many relationship)\n\n1. Relation Controller\n1. Popup-based Form fields\n1. Rich Editor\n1. Dual Form Controller and List Controller\n1. HTML in comments\n1. Custom Delete workflow\n1. Repeater fields in comments popup\n\n### Test 3: Users\n\nUser \"Belongs To Many\" Roles (Many to many relationship)\n\n1. Relation Controller (Standard, Pivot data, Pivot model)\n1. Image Uploaders (Single, Multi, File, Image)\n1. Number field\n1. No click list column\n1. Custom File model\n1. Form field partial\n1. Tag List in relation mode\n\n### Test 4: Locations\n\n1. City \"Has Many\" Locations\n1. City \"Belongs To\" Country\n1. Location \"Belongs To\" Country\n1. Location \"Belongs To\" City\n\n#### Countries\n\nA Country \"Has Many\" Posts \"Through\" a User (Has many through relationship)\n\n1. Checkbox list\n1. Default form field values\n1. Field dependency and filtering\n1. Repeater fields\n1. Tabs empty with no fields\n1. Sister Countries test for related repeaters\n\n#### Cities\n\nA City \"Belongs To\" a Country and \"Has Many\" Locations.\n\n### Test 5: Reviews\n\n1. Reviews \"Morph To\" Plugins and Themes as Product (Polymorphic relationships)\n1. Meta \"Morph To\" Plugins and Themes as Product (Polymorphic relationships)\n1. Plugins and Themes \"Morph Many\" Reviews\n1. Plugins and Themes \"Morph One\" Meta\n1. Plugins should not create when Meta validation fails.\n\n### Test 6: Trees\n\n1. A Member uses a simple tree (parent-child) structure.\n1. A Category uses a simple tree structure, with sorting.\n1. A Channel uses a nested set tree structure.\n\n### Test 7: Galleries\n\n1. Galleries are \"Morphed By Many\" Posts\n1. Posts \"Morph To Many\" Galleries\n\n### Test 8: Pages\n\n1. Page \"Belongs To\" Layout\n\n### Test 9: Product\n\n1. Product\n\n### General Tests\n\nUncategorized tests\n\n#### Attributes\n\nAn Attribute is a single generic model with many relationship types.\n\n1. Posts \"Belong To\" (Attribute) Status (`general.status`).\n1. Countries \"Belong To Many\" (Attribute) Types (`general.types`).\n\n#### Repeater Items\n\n1. Relational Repeater tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctobercms%2Ftest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctobercms%2Ftest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctobercms%2Ftest-plugin/lists"}