{"id":42570966,"url":"https://github.com/dcooney/wordpress-plugin-installer","last_synced_at":"2026-01-28T21:08:19.996Z","repository":{"id":47621690,"uuid":"90316678","full_name":"dcooney/wordpress-plugin-installer","owner":"dcooney","description":"A PHP class for installing and activating WordPress plugins.","archived":false,"fork":false,"pushed_at":"2023-11-09T18:34:04.000Z","size":33,"stargazers_count":75,"open_issues_count":2,"forks_count":27,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-14T05:13:33.780Z","etag":null,"topics":["installer","plugin","plugininstall","plugins","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcooney.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}},"created_at":"2017-05-04T22:55:37.000Z","updated_at":"2024-03-08T17:42:29.000Z","dependencies_parsed_at":"2023-02-10T04:05:25.245Z","dependency_job_id":null,"html_url":"https://github.com/dcooney/wordpress-plugin-installer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dcooney/wordpress-plugin-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcooney%2Fwordpress-plugin-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcooney%2Fwordpress-plugin-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcooney%2Fwordpress-plugin-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcooney%2Fwordpress-plugin-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcooney","download_url":"https://codeload.github.com/dcooney/wordpress-plugin-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcooney%2Fwordpress-plugin-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28851838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":["installer","plugin","plugininstall","plugins","wordpress","wordpress-plugin"],"created_at":"2026-01-28T21:08:18.906Z","updated_at":"2026-01-28T21:08:19.981Z","avatar_url":"https://github.com/dcooney.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress-plugin-installer\n\nThe **Connekt Plugin Installer** is a class for displaying a list of recommended or related plugins inside of the WordPress admin.\n\nThe installer displays a list of plugins that users can easily install and activate from the screen they are currently viewing.\n\n![Connekt Plugin Installer Example](http://examples.connekthq.com/_gif/plugin-installer_2.gif)\n\nThis is a perfect tool for plugin and theme developers who want to make it as easy as possible for users to install recommended or related plugins.\n\nTo see a live example, install a copy of [Ajax Load More](https://wordpress.org/plugins/ajax-load-more/) and go to the Extensions section.\n\n***\n\n## Getting Started\n\nTo get started, you'll simply need to load and initialize the class. The installer provides the required CSS and JS for display and functionality.\n\n### Class Loader\n\nFirst step is to load the class into your plugin or theme. This would typically appear in `functions.php` or in the `_construct` of your plugin Class.\n\n```php\ninclude_once('vendor/connekt-plugin-installer/class-connekt-plugin-installer.php');\n```\n\n### Display\n\nNext, build an array of plugin slugs and pass the array to the `init` method for display.\n\n```php\n$plugins = [\n  [\n    'slug' =\u003e 'ajax-load-more',\n  ],\n  [\n    'slug' =\u003e 'block-manager',\n  ],\n  [\n    'slug' =\u003e 'instant-images'\n  ],\n  [\n    'slug' =\u003e 'easy-query'\n  ]\n]; \n\nif( class_exists( 'Connekt_Plugin_Installer' ) ) {\n  Connekt_Plugin_Installer::init( $plugins );\n}\n```\n\nAnd that's it. Happy coding :)\n\n***\n\n## Notes\n\n- Plugins _must_ be available on the wordpress.org plugin repository to be installed and activated using this class.\n- Using this class outside of the plugins directory will require modification to the `CNKT_INSTALLER_PATH` constant for loading assets. You can define this constant in `functions.php` prior to loading the class. `define('CNKT_INSTALLER_PATH', get_template_directory_uri() .'/vendor/connekt-plugin-installer/')`;\n\n## Changelong\n\n1.0.1 - Janaury 16, 2025\n\n- UPDATE: Code cleanup and PHPCS fixes.\n- FIX: Fixed issue with broken layout if wordpress.org thumbnail not available.\n\n## License\n\nThe code is available under the [GPLv2 license](https://github.com/dcooney/wordpress-plugin-installer/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcooney%2Fwordpress-plugin-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcooney%2Fwordpress-plugin-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcooney%2Fwordpress-plugin-installer/lists"}