{"id":21868335,"url":"https://github.com/pmvc-plugin/controller","last_synced_at":"2026-04-01T23:07:11.481Z","repository":{"id":44929472,"uuid":"56382568","full_name":"pmvc-plugin/controller","owner":"pmvc-plugin","description":"PMVC Controller","archived":false,"fork":false,"pushed_at":"2026-03-22T09:02:27.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-22T21:30:42.431Z","etag":null,"topics":["pmvc","pmvc-guid"],"latest_commit_sha":null,"homepage":"https://github.com/pmvc/pmvc","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/pmvc-plugin.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":"2016-04-16T12:31:30.000Z","updated_at":"2026-03-22T08:59:15.000Z","dependencies_parsed_at":"2024-11-28T07:15:58.846Z","dependency_job_id":null,"html_url":"https://github.com/pmvc-plugin/controller","commit_stats":{"total_commits":219,"total_committers":4,"mean_commits":54.75,"dds":"0.11415525114155256","last_synced_commit":"8e18f88e64d4c7e4fc23f017d6255137c4e57b7c"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/pmvc-plugin/controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fcontroller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fcontroller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fcontroller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fcontroller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmvc-plugin","download_url":"https://codeload.github.com/pmvc-plugin/controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fcontroller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: 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":["pmvc","pmvc-guid"],"created_at":"2024-11-28T05:12:37.492Z","updated_at":"2026-04-01T23:07:11.474Z","avatar_url":"https://github.com/pmvc-plugin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/pmvc-plugin/controller/v/stable)](https://packagist.org/packages/pmvc-plugin/controller) \n[![Latest Unstable Version](https://poser.pugx.org/pmvc-plugin/controller/v/unstable)](https://packagist.org/packages/pmvc-plugin/controller) \n[![CircleCI](https://circleci.com/gh/pmvc-plugin/controller/tree/main.svg?style=svg)](https://circleci.com/gh/pmvc-plugin/controller/tree/main)\n[![Coverage Status](https://coveralls.io/repos/github/pmvc-plugin/controller/badge.svg?branch=main)](https://coveralls.io/github/pmvc-plugin/controller?branch=main)\n[![License](https://poser.pugx.org/pmvc-plugin/controller/license)](https://packagist.org/packages/pmvc-plugin/controller)\n[![Total Downloads](https://poser.pugx.org/pmvc-plugin/controller/downloads)](https://packagist.org/packages/pmvc-plugin/controller) \n\nPMVC Controller\n===============\n   * A simple MVC for unidirectional dataflow architecture.\n   * \u003cimg src=\"https://raw.githubusercontent.com/pmvc/pmvc.github.io/master/flow5.png\"\u003e\n   * More information https://github.com/pmvc/pmvc\n\n## Explain flow\ncontroller -\u003e plugapp -\u003e process -\u003e execute -\u003e processForm -\u003e _processValidate -\u003e _processAction -\u003e processForward -\u003e _finish\n\n## Explain App Folder\n\n### Folders hierarchy\n```\n- Site *Folder*\n-- Apps *Folder*\n--- App\n```\n\n### How to get (folders)?\n* Site *Folder* \n```\n\\PMVC\\plug('controller')-\u003egetAppsParent()\n```\n\n* Apps *Folder*\n```\n\\PMVC\\plug('controller')-\u003egetAppsFolder()\n```\n\n* App\n ```\n\\PMVC\\plug('controller')-\u003egetApp()\n```\n\n\n\n\n\n## APP customize view and template\n   * View\n      * view_engine_[app]=[html|json|react|...]\n   * Template\n      * template_dir_[app]=[forder path]\n\n\n## Install with Composer\n\u003cdetails\u003e\u003csummary\u003eCLICK TO SEE\u003c/summary\u003e\u003cp\u003e\n\n### 1. Download composer\n   * mkdir test_folder\n   * curl -sS https://getcomposer.org/installer | php\n\n### 2. Install by composer.json or use command-line directly\n#### 2.1 Install by composer.json\n   * vim composer.json\n```\n{\n    \"require\": {\n        \"pmvc-plugin/controller\": \"dev-main\"\n    }\n}\n```\n   * php composer.phar install\n\n#### 2.2 Or use composer command-line\n   * php composer.phar require pmvc-plugin/controller\n   \n   or\n   \n   * composer require pmvc-plugin/controller\n\u003c/p\u003e\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmvc-plugin%2Fcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fcontroller/lists"}