Build chromium extensions
- PHP version must be at least 5.3
- zlib extension
- openssl extension
-
Command line
$ php crxbuild.php --extension_dir= --key_file= --output_dir=
output_dir is an optional. It is your current directory by default. You may also use crxbuild.sh (Linux) and crxbuild.bat (Windows), so it'll look like
$ ./crxbuild.sh --extension_dir=<extension dir> --key_file=<private key path>
-
PHP
$extensionDirectory, 'key_file' => $pathToYourPrivateKey, 'output_dir' => $whereToPlaceZipAndExtensionCrxFiles //optional )); $crxBuild->build();