{"id":37007079,"url":"https://github.com/wp-plus/composer-autoload","last_synced_at":"2026-01-14T00:46:24.264Z","repository":{"id":231597284,"uuid":"782110269","full_name":"wp-plus/composer-autoload","owner":"wp-plus","description":"Composer Autoload for WordPress: automagically require the autoload.php generated by Composer (as a must-use plugin).","archived":false,"fork":false,"pushed_at":"2025-08-22T07:43:13.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-04T18:17:25.498Z","etag":null,"topics":["autoload","composer","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-plus.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-04T16:52:45.000Z","updated_at":"2025-08-22T07:41:15.000Z","dependencies_parsed_at":"2024-04-11T21:45:31.537Z","dependency_job_id":null,"html_url":"https://github.com/wp-plus/composer-autoload","commit_stats":null,"previous_names":["wp-plus/composer-autoload"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wp-plus/composer-autoload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-plus%2Fcomposer-autoload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-plus%2Fcomposer-autoload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-plus%2Fcomposer-autoload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-plus%2Fcomposer-autoload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-plus","download_url":"https://codeload.github.com/wp-plus/composer-autoload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-plus%2Fcomposer-autoload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["autoload","composer","php","wordpress"],"created_at":"2026-01-14T00:46:24.160Z","updated_at":"2026-01-14T00:46:24.231Z","avatar_url":"https://github.com/wp-plus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer Autoload for WordPress\n\n**Seamlessly integrate Composer into a standard WordPress installation.**  \n\nThis plugin automatically loads Composer’s `vendor/autoload.php` (via an automatically generated **must-use (MU) plugin**), so any Composer-installed libraries are available without modifying WordPress core, themes, plugins or restructuring directories.  \n\n**Key features:**  \n- Drop-in solution for stock WordPress installs  \n- No changes to `wp-config.php` or core files  \n- Fully automatic Composer autoloader inclusion  \n- Works with themes, plugins, or custom PHP libraries managed via Composer  \n\n**Usage:**  \n\n1. **If Composer is not yet used in the project:**  \n   - Initialize Composer in your WordPress root:  \n     ```bash\n     composer init\n     ```  \n   - Install any libraries you need, e.g.:  \n     ```bash\n     composer require monolog/monolog\n     ```  \n   - Require this plugin:  \n     ```bash\n     composer require wp-plus/composer-autoload\n     ```  \n   - Done - all Composer dependencies, including the newly added ones, are automatically available in WordPress.  \n\n2. **If the project is already using Composer:**  \n   - Require this plugin via Composer:  \n     ```bash\n     composer require wp-plus/composer-autoload\n     ```  \n   - Done - your existing Composer dependencies are now autoloaded in WordPress.  \n   - **Optional cleanup:** remove any hardcoded `require 'vendor/autoload.php'` lines from your theme or plugin files, as this plugin handles it automatically.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-plus%2Fcomposer-autoload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-plus%2Fcomposer-autoload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-plus%2Fcomposer-autoload/lists"}