{"id":37008079,"url":"https://github.com/romantomchak/magento-composer-autoload","last_synced_at":"2026-01-14T00:49:38.324Z","repository":{"id":62537103,"uuid":"61374575","full_name":"romantomchak/magento-composer-autoload","owner":"romantomchak","description":"Integration composer autoload into Magento. Allows to load third-party libraries from vendor directory.","archived":false,"fork":false,"pushed_at":"2019-04-18T09:07:41.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-19T20:15:40.485Z","etag":null,"topics":["autoload","magento","magento-composer-autoload","php"],"latest_commit_sha":null,"homepage":"","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/romantomchak.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":"2016-06-17T13:13:00.000Z","updated_at":"2021-09-15T13:33:15.000Z","dependencies_parsed_at":"2022-11-02T15:15:48.430Z","dependency_job_id":null,"html_url":"https://github.com/romantomchak/magento-composer-autoload","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/romantomchak/magento-composer-autoload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomchak%2Fmagento-composer-autoload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomchak%2Fmagento-composer-autoload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomchak%2Fmagento-composer-autoload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomchak%2Fmagento-composer-autoload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romantomchak","download_url":"https://codeload.github.com/romantomchak/magento-composer-autoload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romantomchak%2Fmagento-composer-autoload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","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","magento","magento-composer-autoload","php"],"created_at":"2026-01-14T00:49:37.628Z","updated_at":"2026-01-14T00:49:38.316Z","avatar_url":"https://github.com/romantomchak.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento Composer Autoload\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/romantomchak/magento-composer-autoload.svg?style=flat-square)](https://packagist.org/packages/romantomchak/magento-composer-autoload)\n[![Downloads](https://img.shields.io/packagist/dt/romantomchak/magento-composer-autoload.svg?style=flat-square)](https://packagist.org/packages/romantomchak/magento-composer-autoload)\n[![License](https://img.shields.io/packagist/l/romantomchak/magento-composer-autoload.svg?label=license\u0026style=flat-square)](LICENSE.md)\n\nComplete and simple to install Composer autoloader to Magento.\n\n\u003e **NOTE.** Version 1.1 is only compatible with Magento 1.9 CE and Magento 1.14 EE \n\n## Installation\n\n### Using magento-composer-installer\n\nTo install this autoload using [magento-composer-installer](https://github.com/Cotya/magento-composer-installer) you need to follow these steps:\n\n1. Create `composer.json` file (if it is not created already) and add extra parameters:\n - `magento-root-dir` - Magento document root Path to Magento root directory regarding to `composer.json` file.\n - `with-bootstrap-patch` - Prevent patching the `Mage.php` file.\n \n For example, if your `composer.json` file is in Magento root directory, then the extra configuration should look like this:\n ```json\n \"extra\": {\n     \"magento-root-dir\": \".\",\n     \"with-bootstrap-patch\": false\n }\n ```\n\n2. Add `magento-composer-installer` and `magento-composer-installer` to composer requirements:\n\n ```sh\n composer require magento-hackathon/magento-composer-installer\n composer require romantomchak/magento-composer-autoload\n ```\n\n### Manual install\n\nIf you want to install composer autoload manually (without using magento-composer-installer), you only need to copy the `Autoload.php` file from this repository to `app/code/community/Varien` directory in your Magento installation.\n\n## Configuration\n\nThis extension trying to locate the native composer autoloader which is located in `vendor` directory. The `vendor` directory may be in Magento root directory or Magento lib directory.\nIf you use the custom vendor directory, you need to specify the path to it by selecting one of two ways:\n - define `MAGE_VENDOR_ROOT` php constant with full path to the `vendor` directory (without a slash at the end)\n - set `MAGE_VENDOR_ROOT` environment variable with full path to the `vendor` directory (without a slash at the end)\n\n\nAlso you can specify the custom `name` for vendor directory by:\n - define `MAGE_VENDOR_DIR_NAME` php constant with `vendor` directory name\n - set `MAGE_VENDOR_DIR_NAME` environment variable with `vendor` directory name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromantomchak%2Fmagento-composer-autoload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromantomchak%2Fmagento-composer-autoload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromantomchak%2Fmagento-composer-autoload/lists"}