You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-22Lines changed: 46 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<p>
14
14
<strong>Static linked CLI wrapper for <ahref="https://packagist.org/packages/composer/semver"><code>composer/semver</code></a>.</strong>
15
15
<br>
16
-
Parsing and validating versions exactly like <ahref="https://getcomposer.org/"><code>Composer</code></a> does <strong>without installing PHP</strong>.
16
+
Parsing and validating versions exactly like Composer does <strong>without installing PHP</strong>.
17
17
<br>
18
18
<br>
19
19
Built with ♥ by <ahref="https://typist.tech/">Typist Tech</a>
@@ -28,7 +28,9 @@
28
28
### Normalize Versions
29
29
30
30
Normalizes a version string to be able to perform comparisons on it.
31
-
This is a wrapper of the [`Composer\Semver\VersionParser::normalize()`](https://github.com/composer/semver/blob/b52829022cb18210bb84e44e457bd4e890f8d2a7/src/VersionParser.php#L98-L108) method.
Parses a constraint string and strip its ignorable parts.
76
-
This is a wrapper of the [`Composer\Semver\VersionParser::parseConstraints()`](github.com/composer/semver/blob/b52829022cb18210bb84e44e457bd4e890f8d2a7/src/VersionParser.php#L251-L258) method.
Instead of the automatic setup script, you can manually configure the repository with the instructsions on [Cloudsmith](https://cloudsmith.io/~typisttech/repos/oss/setup/#formats-deb).
223
+
Instead of the automatic setup script, you can manually configure the repository with the instructsions
224
+
on [Cloudsmith](https://cloudsmith.io/~typisttech/repos/oss/setup/#formats-deb).
200
225
201
226
### Manual `.deb` (Debian based distributions, for example: Ubuntu)
202
227
203
228
> [!WARNING]
204
229
> If you install the `.deb` file manually, you have to take care of updating it by yourself.
205
230
206
-
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
231
+
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest),
232
+
or via [`gh`](https://cli.github.com/):
233
+
207
234
```sh
208
235
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
For shell completions, follow the instructions from:
223
247
```sh
224
-
composer-semver completion --help
248
+
sudo dpkg -i composer-semver_Linux_arm64.deb
225
249
```
226
250
227
251
## Manual Binary
228
252
229
253
> [!WARNING]
230
254
> If you install the binary manually, you have to take care of updating it by yourself.
231
255
232
-
Download the latest `.tar.gz` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
256
+
Download the latest `.tar.gz` file
257
+
from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [
258
+
`gh`](https://cli.github.com/):
259
+
233
260
```sh
234
261
# Both Darwin (macOS) and Linux operating systems are available.
235
262
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
0 commit comments