{"id":21702899,"url":"https://github.com/operations-project/composer-remote-bin-scripts","last_synced_at":"2026-01-06T14:04:57.886Z","repository":{"id":222153677,"uuid":"756430663","full_name":"operations-project/composer-remote-bin-scripts","owner":"operations-project","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-11T16:17:51.000Z","size":3,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"2.x","last_synced_at":"2024-10-20T11:48:55.350Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/operations-project.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}},"created_at":"2024-02-12T16:45:04.000Z","updated_at":"2024-02-12T16:45:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c24c2309-c0cd-4ff2-8386-dddbfeab85dd","html_url":"https://github.com/operations-project/composer-remote-bin-scripts","commit_stats":null,"previous_names":["operations-platform/composer-remote-bin-scripts","operations-project/composer-remote-bin-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fcomposer-remote-bin-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fcomposer-remote-bin-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fcomposer-remote-bin-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fcomposer-remote-bin-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operations-project","download_url":"https://codeload.github.com/operations-project/composer-remote-bin-scripts/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226401087,"owners_count":17619282,"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-25T21:22:03.255Z","updated_at":"2026-01-06T14:04:57.847Z","avatar_url":"https://github.com/operations-project.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote Bin Scripts\n## Download things into the bin-dir.\n\nThis plugin allows you to specify URLs to download on `composer install` as scripts.\n\nFor example, you can download a binary or phar file into your `vendor/bin` directory.\n\n### Advantages:\n\n1. Add PHP tools as phar files to alleviate the need to align composer requirements.\n2. Add scripts and tools written in other languages.\n3. Integrates with `composer install`.\n\n## Usage\n\n1. Install the plugin.\n\n    ```\n    $ composer require operations/remote-bin-scripts\n    ```\n2. Add to `composer.json`:\n    ```json\n    {\n      \"extra\": {\n        \"remote-scripts\": {\n          \"vendor/bin/hello-world\": \"https://raw.githubusercontent.com/operations-platform/composer-remote-bin-scripts/2.x/hello-world.sh\"\n        }\n      }\n    }\n    ```\n\n4. Run composer install:\n\n    ```\n    $ composer install\n    ```\n\n5. Run your script from the composer bin path:\n    ```shell\n    ./vendor/bin/hello-world\n    ```\n\n   Or, if you set PATH, just use the command.\n\n    ```shell\n    PATH=$PATH:./vendor/bin\n    hello-world\n    ```\n\n## About\n\n- Created by: [Jon Pugh](https://github.com/jonpugh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperations-project%2Fcomposer-remote-bin-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperations-project%2Fcomposer-remote-bin-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperations-project%2Fcomposer-remote-bin-scripts/lists"}