File tree Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,35 @@ pip3 install ziglang
109109cargo install --locked cargo-zigbuild
110110```
111111
112- #### Building and installation steps
112+ #### Installing from Packagist
113+ You can use pie to install the extension from the Packagist repository.
114+ See: https://packagist.org/packages/valkey-io/valkey-glide-php
115+
116+ Before starting this step, make sure you've installed all dependencies above.
117+
118+ Additionally, you will need to install the pie tool.
119+
120+ On Linux, you can download pie with curl. eg:
121+ ``` bash
122+ curl -L https://github.com/php/pie/releases/latest/download/pie.phar -o pie
123+ chmod +x pie
124+ sudo mv pie /usr/local/bin/pie
125+ export PATH=" $PATH :/usr/local/bin"
126+ ```
127+
128+ On MacOS, install with Homebrew:
129+ ``` bash
130+ brew install pie
131+ ```
132+
133+ To install the Valkey Glide extension, simply use the pie command:
134+ ``` bash
135+ # VERSION can be set to any release tag or branch at https://github.com/valkey-io/valkey-glide-php.git
136+ export VERSION=1.0.0
137+ pie install valkey-io/valkey-glide-php:$VERSION
138+ ```
139+
140+ #### Steps for building and installing from source
113141
114142Before starting this step, make sure you've installed all software requirements.
115143
Original file line number Diff line number Diff line change @@ -118,7 +118,35 @@ export PATH="$PATH:$HOME/.local/bin"
118118protoc --version
119119```
120120
121- ### Building and Installing the Extension
121+ ### Installing from Packagist
122+ You can use pie to install the extension from the Packagist repository.
123+ See: https://packagist.org/packages/valkey-io/valkey-glide-php
124+
125+ Before starting this step, make sure you've installed all dependencies above.
126+
127+ Additionally, you will need to install the pie tool.
128+
129+ On Linux, you can download pie with curl. eg:
130+ ``` bash
131+ curl -L https://github.com/php/pie/releases/latest/download/pie.phar -o pie
132+ chmod +x pie
133+ sudo mv pie /usr/local/bin/pie
134+ export PATH=" $PATH :/usr/local/bin"
135+ ```
136+
137+ On MacOS, install with Homebrew:
138+ ``` bash
139+ brew install pie
140+ ```
141+
142+ To install the Valkey Glide extension, simply use the pie command:
143+ ``` bash
144+ # VERSION can be set to any release tag or branch at https://github.com/valkey-io/valkey-glide-php.git
145+ export VERSION=1.0.0
146+ pie install valkey-io/valkey-glide-php:$VERSION
147+ ```
148+
149+ ### Building and Installing the Extension from source
122150
1231511 . Clone the repository:
124152 ``` bash
You can’t perform that action at this time.
0 commit comments