{"id":19412253,"url":"https://github.com/shipping-docker/php-composer","last_synced_at":"2025-06-12T04:34:53.740Z","repository":{"id":44779325,"uuid":"107427813","full_name":"shipping-docker/php-composer","owner":"shipping-docker","description":"A small container with latest stable PHP, Git, and Composer","archived":false,"fork":false,"pushed_at":"2023-03-01T09:01:48.000Z","size":10,"stargazers_count":20,"open_issues_count":1,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-07T15:26:45.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/shipping-docker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-18T15:32:59.000Z","updated_at":"2023-07-10T14:25:52.000Z","dependencies_parsed_at":"2025-01-08T22:00:41.340Z","dependency_job_id":null,"html_url":"https://github.com/shipping-docker/php-composer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipping-docker%2Fphp-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipping-docker%2Fphp-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipping-docker%2Fphp-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipping-docker%2Fphp-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shipping-docker","download_url":"https://codeload.github.com/shipping-docker/php-composer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593165,"owners_count":19825929,"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-10T12:25:56.312Z","updated_at":"2025-02-25T02:41:57.335Z","avatar_url":"https://github.com/shipping-docker.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PHP-Composer\n\nThis takes the latest stable official PHP Docker images (currently `php:7.2-cli`, `php:7.3-cli`, `php:7.4-cli`), and adds in Git, Composer, Zip, as well as common PHP modules.\n\nThis is best  used for when you do not have PHP 7+ installed on your machine, and don't want to install it. In such a case, you may run into a chicken and egg issue with [Vessel](https://vessel.shippingdocker.com) where you cannot start a new Laravel project, nor get [Vessel](https://vessel.shippingdocker.com), until you have PHP 7, but you won't have PHP 7 until you install and setup Vessel.\n\n## Usage\n\nTo create a new Laravel project, or run any Composer command, run the following:\n\n```bash\ncd ~/Path/To/Projects\n\n# Create a new Laravel app\ndocker run --rm \\\n    -v $(pwd):/opt \\\n    -w /opt \\\n    shippingdocker/php-composer:latest \\\n    composer create-project laravel/laravel my-app\n\n\n# Add Vessel to that new app, or run any composer command\ncd ~/Path/To/Projects/my-app\n\ndocker run --rm \\\n    -v $(pwd):/opt \\\n    -w /opt \\\n    shippingdocker/php-composer:latest \\\n    composer require shipping-docker/vessel\n```\n\nYou may want to replace `$(pwd)` with your actual file path if `$(pwd)` does not correctly expand to your current working directory.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshipping-docker%2Fphp-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshipping-docker%2Fphp-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshipping-docker%2Fphp-composer/lists"}