{"id":19783181,"url":"https://github.com/edmondscommerce/magento-module-version-checker","last_synced_at":"2026-04-17T19:32:17.508Z","repository":{"id":66730445,"uuid":"90237399","full_name":"edmondscommerce/magento-module-version-checker","owner":"edmondscommerce","description":"Checks Magento Connect for the latest versions of your modules","archived":false,"fork":false,"pushed_at":"2017-05-11T08:04:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T13:07:46.206Z","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/edmondscommerce.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":"2017-05-04T08:04:31.000Z","updated_at":"2017-05-04T09:05:26.000Z","dependencies_parsed_at":"2023-07-11T10:01:44.275Z","dependency_job_id":null,"html_url":"https://github.com/edmondscommerce/magento-module-version-checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edmondscommerce/magento-module-version-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento-module-version-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento-module-version-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento-module-version-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento-module-version-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edmondscommerce","download_url":"https://codeload.github.com/edmondscommerce/magento-module-version-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fmagento-module-version-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31943328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-12T06:07:30.428Z","updated_at":"2026-04-17T19:32:17.503Z","avatar_url":"https://github.com/edmondscommerce.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento Module Version Checker\n\n## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)\n\nA simple script to check\n[Magento Connect](https://www.magentocommerce.com/magento-connect/)\n(or other custom sources) for the latest version of a module.\n\n### Installation\n\nInstall via composer\n\n```bash\ngit clone git@github.com:edmondscommerce/magento-module-version-checker.git\ncd magento-module-version-checker\ncomposer install\n```\n\n### Configuration\n\nYou need to configure the modules you wish to check and the page from which\nto get the modules version. You do this in a `json` file with the following\nformat:\n\n```json\n{\n    \"https://www.magentocommerce.com/magento-connect/\u003cmodule\u003e\": \"\u003cModule_Name\u003e\",\n    \"https://www.magentocommerce.com/magento-connect/aoe-scheduler.html\": \"Aoe_Scheduler\",\n\n    ...\n}\n```\n\n### Running\n\n```\n./mmv \u003cpath/to/config.json\u003e\n```\n\n### Custom Sources\n\nIn order to add a custom source you need implement a `Module` class and add the class to the `ModuleFactory`.\n\n#### Implementing Module\n\nI've created a template `Module` class for you to base yours on [here](https://github.com/edmondscommerce/magento-module-version-checker/blob/master/src/Module.php.template).\n\nYou simply need to make the following changes:\n\n```php\n\u003c?php\n\nnamespace EdmondsCommerce\\MagentoModuleVersions;\n\nclass \u003cYourSource\u003eModule extends AbstractModule\n{\n    public function getSelector()\n    {\n        // Here you need to add a css selector to grab the\n        // version data from the page.\n        return '';\n    }\n\n    public function cleanVersionNumber($versionNumber)\n    {\n        // Here you need to add some clean up code that takes the\n        // selected version and strips out only the version number.\n        return $versionNumber;\n    }\n}\n```\n\nYou can see an example of this\n[here](https://github.com/edmondscommerce/magento-module-version-checker/blob/master/src/MagentoConnectModule.php).\n\n#### Adding Module to Module Factory\n\nOnce you've implemented a `Module` class you need to add it to the\n[`ModuleFactory`](https://github.com/edmondscommerce/magento-module-version-checker/blob/master/src/ModuleFactory.php).\n\n```php\n\u003c?php\n...\nclass ModuleFactory\n{\n    ...\n    public static function create($dom, $page)\n    {\n        ...\n        switch ($host) {\n            case 'www.magentocommerce.com':\n                return new MagentoConnectModule($dom, $page);\n                break;\n            case 'www.your-modules-domain.com':\n                return new \u003cYourSource\u003eModule($dom, $page);\n                break;\n            default:\n                throw new Exception(\"Invalid host '$host'\");\n        }\n    }\n}\n```\n\nOnce that's done you should be able to add your new modules to the config `json` and run the script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fmagento-module-version-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedmondscommerce%2Fmagento-module-version-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fmagento-module-version-checker/lists"}