{
  "name": "genphrase/genphrase",
  "description": "Secure passphrase generator for PHP applications",
  "keywords": ["secure", "random","password","passphrase","generator","diceware"],
  "homepage": "https://github.com/timoh6/GenPhrase",
  "type": "library",
  "license": "MIT",
  "require": {
    "php": ">=5.3.0"
  },
  "require-dev": {
    "phpunit/phpunit": "^5.5 || ^6.5"
  },
  "autoload": {
    "psr-4": {
      "GenPhrase\\": "library/GenPhrase"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "GenPhrase\\Tests\\": "tests/GenPhrase"
    }
  }
}

{
  "name": "genphrase/genphrase",
  "description": "Secure passphrase generator for PHP applications",
  "keywords": ["secure", "random","password","passphrase","generator","diceware"],
  "homepage": "https://github.com/timoh6/GenPhrase",
  "type": "library",
  "license": "MIT",
  "require": {
    "php": ">=5.3.0",
    "ext-bcmath": "*"
  },
  "require-dev": {
    "phpunit/phpunit": "^5.5 || ^6.5"
  },
  "autoload": {
    "psr-4": {
      "GenPhrase\\": "library/GenPhrase"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "GenPhrase\\Tests\\": "tests/GenPhrase"
    }
  }
}

Add bcmath extension as a dependency
Add bcmath extension as a dependency

Without the extension you get "Call to undefined function GenPhrase\bcadd()"
