X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=README.md;h=63b6cdfaa05fc4a1f4ebdb5605941b62b963c6cc;hb=cbb9788d2983cf6c6a03a7e9b94a427589b7bffc;hp=9b098a6449b4f6de118a66753569e648c083d30e;hpb=0ff7b26bce8f0dfbd1d4d45313705a94f2ac5e28;p=pharext%2Fpharext diff --git a/README.md b/README.md index 9b098a6..63b6cdf 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ If your installation destination needs escalated permissions, have a look at the The usual tools you need to build a PHP extension: * php, phpize and php-config * make, cc and autotools + A network connection is not needed. ### Not implemented @@ -56,9 +57,13 @@ A network connection is not needed. * Dependencies * Package description files +## Download for extension maintainers + +Download the pharext binary of the [latest release](https://github.com/m6w6/pharext/releases/latest). + ## Installation for extension maintainers - $ composer require m6w6/pharext + $ composer require --dev m6w6/pharext ### Prerequisites: @@ -67,7 +72,7 @@ A network connection is not needed. ## Usage - $ ./bin/pharext --pecl --source ../pecl_http.git + $ ./vendor/bin/pharext --pecl --source ../pecl_http.git Yields: @@ -78,7 +83,7 @@ Note that the PECL source can infer package name and release version from the pa Another example using `git ls-files`: - $ ./bin/pharext -v -g -s ../raphf.git --name raphf --release 1.0.5 + $ ./vendor/bin/pharext -v -g -s ../raphf.git --name raphf --release 1.0.5 Yields: @@ -103,13 +108,13 @@ Yields: Command help: - $ ./bin/pharext --help + $ ./vendor/bin/pharext --help Yields: Usage: - $ ./bin/pharext [-h|-v|-q|-g|-p] -s -n -r [-d ] + $ ./vendor/bin/pharext [-h|-v|-q|-g|-p] -s -n -r [-d ] -h|--help Display this help -v|--verbose More output @@ -121,3 +126,6 @@ Yields: -n|--name Extension name (REQUIRED) -r|--release Extension release version (REQUIRED) +## Rebuilding + + $ make -C vendor/m6w6/pharext