Additional PHP extensions for Heroku PHP Buildpack
- Lpsolve: Mixed Integer Linear Programming (MILP) solver
- 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/"
- Update project's composer.json:
"require": {
  ...
  "ext-lpsolve": "*",
  ...
}
- 
Add heroku-buildpack-apt before heroku/php (Heroku > App X > Settings > Buildpacks). 
- 
Add Aptfile to project's root: 
# heroku-buildpack-apt
lp-solve
See the LICENSE file for license rights and limitations (MIT).