## Installation:
-### PECL
-
- pecl install ion
-
-
-### PHARext
-
-Watch out for [PECL replicates](https://replicator.pharext.org?ion)
-and pharext packages attached to [releases](./releases).
-
-### Checkout
-
- git clone github.com:awesomized/ext-ion
-
- cd ext-ion
-
- /path/to/phpize
- ./configure --with-php-config=/path/to/php-config
- make
- sudo make install
-
### Dependencies:
#### Required:
* PHP-8.1
### Trinity:
```shell
phpize
-./configure
+./configure # --with-php-config=<path/to/php-config>
make # -j$(nproc)
sudo make install # INSTALL=install
```
+
+### PECL
+
+ pecl install ion
+
+### PHARext
+
+Watch out for [PECL replicates](https://replicator.pharext.org?ion)
+and pharext packages attached to [releases](./releases).
+
### Try with Docker:
```shell
docker build -t php-ion
See the <a href="https://amzn.github.io/ion-docs/">Amazon ION specification</a>.</p><h2 id="License:">License:<a class="permalink" href="ion#License:">#</a>
</h2><p><a href="https://github.com/awesomized/ext-ion/blob/master/LICENSE">BSD-2-Clause</a>;
see <a href="https://spdx.org/licenses/BSD-2-Clause.html">spdx.org</a>.</p><h2 id="Installation:">Installation:<a class="permalink" href="ion#Installation:">#</a>
-</h2><h3 id="PECL">PECL<a class="permalink" href="ion#PECL">#</a>
-</h3><pre><code><span style="color: inherit" class="html">
-pecl install ion<br></span>
-</code></pre><h3 id="PHARext">PHARext<a class="permalink" href="ion#PHARext">#</a>
-</h3><p>Watch out for <a href="https://replicator.pharext.org?ion">PECL replicates</a>
-and pharext packages attached to <a href="./releases">releases</a>.</p><h3 id="Checkout">Checkout<a class="permalink" href="ion#Checkout">#</a>
-</h3><pre><code><span style="color: inherit" class="html">
-git clone github.com:awesomized/ext-ion<br><br>cd ext-ion<br><br>/path/to/phpize<br>./configure --with-php-config=/path/to/php-config<br>make<br>sudo make install<br></span>
-</code></pre><h3 id="Dependencies:">Dependencies:<a class="permalink" href="ion#Dependencies:">#</a>
+</h2><h3 id="Dependencies:">Dependencies:<a class="permalink" href="ion#Dependencies:">#</a>
</h3><h4 id="Required:">Required:<a class="permalink" href="ion#Required:">#</a>
</h4><ul>
<li>PHP-8.1
<a href="https://github.com/amzn/ion-c">amzn/ion-c</a> (bundled as git submodule)</li>
</ul><h3 id="Trinity:">Trinity:<a class="permalink" href="ion#Trinity:">#</a>
</h3><pre><code><span style="color: inherit" class="html">
-phpize<br>./configure<br>make # -j$(nproc)<br>sudo make install # INSTALL=install<br></span>
-</code></pre><h3 id="Try.with.Docker:">Try with Docker:<a class="permalink" href="ion#Try.with.Docker:">#</a>
+phpize<br>./configure # --with-php-config=<path/to/php-config><br>make # -j$(nproc)<br>sudo make install # INSTALL=install<br></span>
+</code></pre><h3 id="PECL">PECL<a class="permalink" href="ion#PECL">#</a>
+</h3><pre><code><span style="color: inherit" class="html">
+pecl install ion<br></span>
+</code></pre><h3 id="PHARext">PHARext<a class="permalink" href="ion#PHARext">#</a>
+</h3><p>Watch out for <a href="https://replicator.pharext.org?ion">PECL replicates</a>
+and pharext packages attached to <a href="./releases">releases</a>.</p><h3 id="Try.with.Docker:">Try with Docker:<a class="permalink" href="ion#Try.with.Docker:">#</a>
</h3><pre><code><span style="color: inherit" class="html">
docker build -t php-ion<br>docker run --rm php-ion -r 'echo ion\serialize(ion\Symbol\PHP::asTable());'<br></span>
</code></pre><h2 id="Editor.Stub:">Editor Stub:<a class="permalink" href="ion#Editor.Stub:">#</a>