{"id":18388028,"url":"https://github.com/methodgrab/heroku-multipack-php-node","last_synced_at":"2025-04-12T03:58:29.385Z","repository":{"id":149551260,"uuid":"62041869","full_name":"MethodGrab/heroku-multipack-php-node","owner":"MethodGrab","description":"PHP / Nginx backend with Node.js frontend package management / build","archived":false,"fork":false,"pushed_at":"2020-09-03T23:11:30.000Z","size":26,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T03:58:26.473Z","etag":null,"topics":["boilerplate","heroku","heroku-buildpack"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/MethodGrab.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":"2016-06-27T09:10:09.000Z","updated_at":"2020-09-08T14:41:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7641ccc6-23f8-40d9-bc71-9153ec0480b1","html_url":"https://github.com/MethodGrab/heroku-multipack-php-node","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/MethodGrab%2Fheroku-multipack-php-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MethodGrab%2Fheroku-multipack-php-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MethodGrab%2Fheroku-multipack-php-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MethodGrab%2Fheroku-multipack-php-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MethodGrab","download_url":"https://codeload.github.com/MethodGrab/heroku-multipack-php-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514203,"owners_count":21116900,"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":["boilerplate","heroku","heroku-buildpack"],"created_at":"2024-11-06T01:30:07.463Z","updated_at":"2025-04-12T03:58:29.363Z","avatar_url":"https://github.com/MethodGrab.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku Multipack PHP \u0026 Node.js\n\u003e An example multipack app that uses a PHP / Nginx backend with Node.js frontend package management / build.\n\n\n## Usage\n\n```sh\n# Clone this repo, or clone your own fork\ngit clone git@github.com:methodgrab/heroku-multipack-php-node.git\ncd heroku-multipack-php-node\n\n# Create a new Heroku app\nheroku create\n\n# Add the buildpacks\nheroku buildpacks:add heroku/nodejs\nheroku buildpacks:add heroku/php\n\n# Deploy\ngit push heroku master\nheroku open\n```\n\nAlternatively, you can deploy your own copy of the app using the web-based flow:\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n\n## What's Happening\n1. The [Node.js buildpack](https://github.com/heroku/heroku-buildpack-nodejs) runs, installing the dependencies from `package.json`.\n1. The [PHP buildpack](https://github.com/heroku/heroku-buildpack-php) runs, installing the dependencies from `composer.json`.\n1. As part of the Composer install, it also runs the custom [`compile` script](https://devcenter.heroku.com/articles/php-support#custom-compile-step) from `composer.json`.  \nThe Node.js binaries are still available at this point so we can then run the Node.js build while having access to any composer dependencies that might need to be re-organised as part of the build step.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmethodgrab%2Fheroku-multipack-php-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmethodgrab%2Fheroku-multipack-php-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmethodgrab%2Fheroku-multipack-php-node/lists"}