Laravel Forge uses Recipes for common tasks. This recipe installs and configures the GMP PHP extension for the active version of PHP.
If you don't have a preference regarding PHP's mathematical extensions, go with BCMath; Forge installs that by default.