{"id":20375282,"url":"https://github.com/cba85/wp-updater","last_synced_at":"2026-05-13T07:44:31.519Z","repository":{"id":62500251,"uuid":"214116402","full_name":"cba85/wp-updater","owner":"cba85","description":"Wordpress native updater for custom plugin system","archived":false,"fork":false,"pushed_at":"2021-04-26T14:11:27.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:05:54.673Z","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/cba85.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":"2019-10-10T07:30:55.000Z","updated_at":"2021-04-22T14:08:17.000Z","dependencies_parsed_at":"2022-11-02T09:45:50.952Z","dependency_job_id":null,"html_url":"https://github.com/cba85/wp-updater","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/cba85%2Fwp-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fwp-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fwp-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fwp-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cba85","download_url":"https://codeload.github.com/cba85/wp-updater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241924106,"owners_count":20043149,"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-15T01:29:43.354Z","updated_at":"2026-05-13T07:44:31.479Z","avatar_url":"https://github.com/cba85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Updater\n\nThis package has been created to integrate WordPress core updates with your custom plugin.\n\nThis Wordpress package is based on [Misha Rudrastyh article: Self-Hosted Plugin Updates](https://rudrastyh.com/wordpress/self-hosted-plugin-update.html).\n\nThis package is a simple class organized using [traits](https://www.php.net/manual/en/language.oop5.traits.php).\n\n## Tests\n\n```\n$ ./vendor/bin/phpunit\n```\n\n### Wordpress spies\n\nTo test the package which call some Wordpress functions, I've created spies functions to simulate them outside a Wordpress environment.\n\nThese functions are located in `/tests/spies/wordpress.php`.\n\n#### Transient\n\n`get_transient()` in `/tests/spies/wordpress.php` simulate a transient retrievement by default. Uncomment the first line to test a remote retrievement.\n\nYou have to update tests by commenting/uncommenting some lines in `TransientTest.php` and `UpdateTest.php` files depending on the remote or transient information retrievement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Fwp-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcba85%2Fwp-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Fwp-updater/lists"}