{"id":21868309,"url":"https://github.com/pmvc-plugin/hello_world","last_synced_at":"2026-04-11T21:43:56.703Z","repository":{"id":31422092,"uuid":"34985550","full_name":"pmvc-plugin/hello_world","owner":"pmvc-plugin","description":"PMVC Plugin Demo Code","archived":false,"fork":false,"pushed_at":"2016-08-03T18:24:19.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T16:16:39.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/pmvc/pmvc/wiki","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}},"created_at":"2015-05-03T12:39:14.000Z","updated_at":"2016-05-03T13:57:12.000Z","dependencies_parsed_at":"2022-08-23T23:40:19.038Z","dependency_job_id":null,"html_url":"https://github.com/pmvc-plugin/hello_world","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/pmvc-plugin%2Fhello_world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fhello_world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fhello_world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fhello_world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmvc-plugin","download_url":"https://codeload.github.com/pmvc-plugin/hello_world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874718,"owners_count":20524581,"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-28T05:12:33.938Z","updated_at":"2026-04-11T21:43:51.676Z","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/hello_world/v/stable)](https://packagist.org/packages/pmvc-plugin/hello_world) \n[![Latest Unstable Version](https://poser.pugx.org/pmvc-plugin/hello_world/v/unstable)](https://packagist.org/packages/pmvc-plugin/hello_world) \n[![Build Status](https://travis-ci.org/pmvc-plugin/hello_world.svg?branch=master)](https://travis-ci.org/pmvc-plugin/hello_world)\n[![License](https://poser.pugx.org/pmvc-plugin/hello_world/license)](https://packagist.org/packages/pmvc-plugin/hello_world)\n[![Total Downloads](https://poser.pugx.org/pmvc-plugin/hello_world/downloads)](https://packagist.org/packages/pmvc-plugin/hello_world) \n\n# PMVC Hello World Plugin \n===============\n\n## How to use? Check the demo code.\nhttps://github.com/pmvc-plugin/hello_world/tree/master/demo\n\n\n## Install with Composer\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/hello_world\": \"dev-master\"\n    }\n}\n```\n   * php composer.phar install\n\n#### 2.2 Or use composer command-line\n   * php composer.phar require pmvc-plugin/hello_world\n\n### 3. Write some demo code\n```\n\u003c?php\n    include('vendor/autoload.php');\n    PMVC\\Load::plug();\n    \\PMVC\\plug('hello_world', ['Hello, PMVC.'])-\u003esay();\n?\u003e\n```\n### 4. Run the demo\n   * php demo.php\n\n### 5. Check the whole demo code\n   * https://github.com/pmvc-plugin/hello_world/tree/master/demo\n\n## One line test\n```\nphp -r \"include('vendor/autoload.php'); PMVC\\Load::plug([],['../']); \\PMVC\\plug('hello_world', ['Hello, PMVC.'])-\u003esay();\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fhello_world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmvc-plugin%2Fhello_world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fhello_world/lists"}