{"id":21352386,"url":"https://github.com/makeitworkpress/wp-updater","last_synced_at":"2025-07-12T21:30:50.008Z","repository":{"id":88581942,"uuid":"102371909","full_name":"makeitworkpress/wp-updater","owner":"makeitworkpress","description":"The WP Updater scripts allows to updates themes or plugins from external sources such as GitHub.","archived":false,"fork":false,"pushed_at":"2023-11-30T10:51:24.000Z","size":52,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-11-30T11:35:56.445Z","etag":null,"topics":["wordpress","wordpress-development","wordpress-plugin-development","wordpress-theme-development","wordpress-updater"],"latest_commit_sha":null,"homepage":"https://makeitwork.press/scripts/wp-updater/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makeitworkpress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-09-04T14:46:18.000Z","updated_at":"2023-10-19T12:16:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b555fdf-6fa7-4556-9742-0125469f5dd6","html_url":"https://github.com/makeitworkpress/wp-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeitworkpress%2Fwp-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeitworkpress%2Fwp-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeitworkpress%2Fwp-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeitworkpress%2Fwp-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makeitworkpress","download_url":"https://codeload.github.com/makeitworkpress/wp-updater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225834351,"owners_count":17531471,"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":["wordpress","wordpress-development","wordpress-plugin-development","wordpress-theme-development","wordpress-updater"],"created_at":"2024-11-22T03:13:30.301Z","updated_at":"2024-11-22T03:13:31.273Z","avatar_url":"https://github.com/makeitworkpress.png","language":"PHP","readme":"# wp-updater\r\nThe WP Updater scripts allows to updates themes or plugins from external sources such as GitHub. Currently, only GitHub is supported. \r\nWP Updater is maintained by [Make it WorkPress](https://makeitwork.press/scripts/wp-updater/).\r\n\r\n## Usage\r\nYou can include the WP Updater script in your theme or plugin, and required all the included classes manually or use a PHP autoloader. You can read more about autoloading in [the readme of wp-autoload](https://github.com/makeitworkpress/wp-autoload).\r\n\r\n\r\n### Installation\r\nAfter you have correctly included all WP Updater script files or used an autoloader, the updater can be initialized. \r\n\r\nFor plugins:\r\n```php\r\n    $updater = MakeitWorkPress\\WP_Updater\\Boot::instance();\r\n    $updater-\u003eadd(['type' =\u003e 'plugin', 'source' =\u003e 'https://github.com/yourname/plugin-on-github']);\r\n```\r\n\r\nAnd for themes:\r\n```php\r\n    $updater = MakeitWorkPress\\WP_Updater\\Boot::instance();\r\n    $updater-\u003eadd(['type' =\u003e 'theme', 'source' =\u003e 'https://github.com/yourname/theme-on-github']);\r\n```\r\n\r\nThere are few things that should be noted:\r\n*Because the updater is placed within a theme or plugin itself, it only functions when this given theme or plugin is active.\r\n*For plugins, the folder name should be similar as the main file initilizing your plugin. For example, ``plugin-name/plugin-name.php``. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakeitworkpress%2Fwp-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakeitworkpress%2Fwp-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakeitworkpress%2Fwp-updater/lists"}