{"id":13840547,"url":"https://github.com/CleverCloud/php-composer-example","last_synced_at":"2025-07-11T09:32:08.844Z","repository":{"id":77334843,"uuid":"62056456","full_name":"CleverCloud/php-composer-example","owner":"CleverCloud","description":"Run PHP with Composer on Clever Cloud","archived":false,"fork":false,"pushed_at":"2016-06-27T13:43:09.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-04T17:08:47.699Z","etag":null,"topics":["clevercloud-example","composer","php"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/CleverCloud.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}},"created_at":"2016-06-27T13:01:34.000Z","updated_at":"2024-08-04T17:08:47.700Z","dependencies_parsed_at":"2023-07-24T21:30:22.284Z","dependency_job_id":null,"html_url":"https://github.com/CleverCloud/php-composer-example","commit_stats":null,"previous_names":["clevercloud/demo-php-composer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fphp-composer-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fphp-composer-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fphp-composer-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fphp-composer-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverCloud","download_url":"https://codeload.github.com/CleverCloud/php-composer-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225712478,"owners_count":17512407,"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":["clevercloud-example","composer","php"],"created_at":"2024-08-04T17:00:50.235Z","updated_at":"2024-11-21T10:30:23.233Z","avatar_url":"https://github.com/CleverCloud.png","language":"JavaScript","readme":"# PHP composer demo\n\nHere is how to use composer on [Clever Cloud](https://www.clever-cloud.com).\nBasically, you have to create your own composer.json at the root of the application\nand its dependencies will be installed.\n\nHere is our documentation about [composer](https://www.clever-cloud.com/doc/php/php-apps/#composer)\n\n## Custom version of composer\n\nIf you need a specific version of composer, you can also commit your own `composer.phar`\nat the root of the application and it will be used to install your dependencies.\n\n## Custom scripts\n\nSometimes, you need to build your assets or execute certain tasks when your deployment\nis finished. Via composer, you can automate these tasks through its [scripts](https://getcomposer.org/doc/articles/scripts.md)\n\n## Node build\n\nOn Clever Cloud, you have access to [Node.js](https://nodejs.org) on PHP instances, so if you have `grunt` or `gulp`\n(or any other task manager / scripts), you can create a custom script to install and execute your tasks.\nHave a look at [composer.json](composer.json) and [build script](scripts/install.sh) to have an example.\n\n## Test !\n\nYou can login / register (with 20€ of free credits to test) on our [Dashboard](https://console.clever-cloud.com).\nThen, clone / fork this repo and create your [own application](https://www.clever-cloud.com/doc/clever-cloud-overview/add-application/).\n","funding_links":[],"categories":["Examples"],"sub_categories":["PHP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCleverCloud%2Fphp-composer-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCleverCloud%2Fphp-composer-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCleverCloud%2Fphp-composer-example/lists"}