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
[](https://packagist.org/packages/clue/arguments)
5
5
6
6
The simple way to split your command line string into an array of command arguments in PHP.
@@ -45,6 +45,10 @@ command line from user input (via `STDIN`) and then executes some very simple
45
45
demo commands:
46
46
47
47
```php
48
+
<?php
49
+
50
+
require __DIR__ . '/vendor/autoload.php';
51
+
48
52
while (true) {
49
53
$line = fgets(STDIN, 1024);
50
54
@@ -63,7 +67,7 @@ while (true) {
63
67
}
64
68
```
65
69
66
-
See also the [examples](examples).
70
+
See also the [examples](examples/).
67
71
68
72
## Usage
69
73
@@ -241,29 +245,29 @@ This project follows [SemVer](https://semver.org/).
241
245
This will install the latest supported version:
242
246
243
247
```bash
244
-
$ composer require clue/arguments:^2.1
248
+
composer require clue/arguments:^2.1
245
249
```
246
250
247
251
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
248
252
249
253
This project aims to run on any platform and thus does not require any PHP
250
254
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
251
255
HHVM.
252
-
It's *highly recommended to use PHP 7+* for this project.
256
+
It's *highly recommended to use the latest supported PHP version* for this project.
253
257
254
258
## Tests
255
259
256
260
To run the test suite, you first need to clone this repo and then install all
0 commit comments