Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: phpbrew/phpbrew
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: discord-php/phpbrew
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 17, 2021

  1. Added DiscordPHP variant

    Installs the default variant plus `sodium` and `zlib`.
    davidcole1340 committed Apr 17, 2021
    Copy the full SHA
    ba4c3a2 View commit details
Showing with 34 additions and 0 deletions.
  1. +34 −0 src/PhpBrew/VariantBuilder.php
34 changes: 34 additions & 0 deletions src/PhpBrew/VariantBuilder.php
Original file line number Diff line number Diff line change
@@ -133,6 +133,40 @@ class VariantBuilder
'openssl',
'zip',
),

// variant for DiscordPHP
'dphp' => array(
'bcmath',
'bz2',
'calendar',
'cli',
'ctype',
'dom',
'fileinfo',
'filter',
'ipc',
'json',
'mbregex',
'mbstring',
'mhash',
'pcntl',
'pcre',
'pdo',
'pear',
'phar',
'posix',
'readline',
'sockets',
'tokenizer',
'xml',
'curl',
'openssl',
'zip',

'iconv',
'sodium',
'zlib',
),
);

public function __construct()