/heroku-custom-php-extensions

🔧 Additional PHP extensions for Heroku PHP Buildpack

MIT LicenseMIT

heroku-custom-php-extensions

Additional PHP extensions for Heroku PHP Buildpack

Extensions

  • Lpsolve: Mixed Integer Linear Programming (MILP) solver

Setup

  1. Configure the repository via Heroku CLI (replace APP_NAME):

heroku config:set --app=APP_NAME HEROKU_PHP_PLATFORM_REPOSITORIES="https://dogchef-be.github.io/heroku-custom-php-extensions/"

  1. Update project's composer.json:
"require": {
  ...
  "ext-lpsolve": "*",
  ...
}
  1. Add heroku-buildpack-apt before heroku/php (Heroku > App X > Settings > Buildpacks).

  2. Add Aptfile to project's root:

# heroku-buildpack-apt
lp-solve

License

See the LICENSE file for license rights and limitations (MIT).