{"id":15481664,"url":"https://github.com/rarst/locate-vendor","last_synced_at":"2025-04-22T15:25:16.907Z","repository":{"id":17517680,"uuid":"20305652","full_name":"Rarst/locate-vendor","owner":"Rarst","description":"Helper for vendor directory location in Composer.","archived":false,"fork":false,"pushed_at":"2014-11-11T15:00:20.000Z","size":160,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T05:16:55.320Z","etag":null,"topics":["composer"],"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/Rarst.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":"2014-05-29T19:25:24.000Z","updated_at":"2021-03-14T00:58:08.000Z","dependencies_parsed_at":"2022-09-24T01:51:42.947Z","dependency_job_id":null,"html_url":"https://github.com/Rarst/locate-vendor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flocate-vendor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flocate-vendor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flocate-vendor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flocate-vendor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rarst","download_url":"https://codeload.github.com/Rarst/locate-vendor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250265922,"owners_count":21402196,"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":["composer"],"created_at":"2024-10-02T05:05:25.248Z","updated_at":"2025-04-22T15:25:16.861Z","avatar_url":"https://github.com/Rarst.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Locate Vendor — directory in Composer\n\nLocate Vendor determines file system location of packages in Composer environment.\n \n# Installation\n\nRequire in your `composer.json`\n\n```json\n{\n\t\"require\" : {\n\t\t\"rarst/locate-vendor\" : \"~1.0\"\n\t}\n}\n```\n\nor\n\n```shell\ncomposer require rarst/locate-vendor:~1.0 --update-no-dev\n```\n\n# Methods\n\n## `get_vendor_path()`\n\nExample code:\n\n```php\n$vendor_path  = \\Rarst\\Composer\\Locate_Vendor::get_vendor_path();\n```\n\n## `get_package_path()`\n\nExample code:\n\n```php\n$package_path = \\Rarst\\Composer\\Locate_Vendor::get_package_path( 'twbs/bootstrap' );\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarst%2Flocate-vendor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frarst%2Flocate-vendor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarst%2Flocate-vendor/lists"}