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
A command-line for the [PHP-Prefixer](https://php-prefixer.com) service. The command calls the **PHP-Prefixer** service using the [REST API](https://php-prefixer.com/docs/rest-api-reference/) to submit a project source code, apply the prefixes, wait and download the results.
7
+
A command-line for the [PHP-Prefixer](https://php-prefixer.com) service.
8
+
9
+
The [PHP-Prefixer](https://php-prefixer.com) service has a command line to use the service locally and process the project source code from your workstation.
10
+
11
+
The command calls the **PHP-Prefixer** service using the [REST API](https://php-prefixer.com/docs/rest-api-reference/) to submit a project source code, apply the prefixes, wait and download the results.
8
12
9
13
**PHP-Prefixer** is a cloud service to apply PHP prefixes to namespaces, functions, helpers, traits, interfaces, etc. Start with a Composer project and a set of dependencies, and prefix all library files at once to generate a consistent prefixed codebase.
10
14
@@ -42,19 +46,19 @@ class Carbon extends DateTime
42
46
43
47
### PHAR
44
48
45
-
The preferred installation method is with the PHP Prefixer CLI PHAR. You can download the latest PHAR from the most recent [Github Releases](https://github.com/PHP-Prefixer/php-prefixer-cli/releases).
49
+
The preferred installation method is with the **PHP Prefixer CLI PHAR**. You can download the latest PHAR from the most recent [Github Releases](https://github.com/PHP-Prefixer/php-prefixer-cli/releases). After downloading it, copy the file into a directory on your local path.
46
50
47
51
### Composer
48
52
49
-
You can install PHP-Prefixer CLI globally with Composer:
53
+
Alternatively, you can install **PHP-Prefixer CLI** globally with Composer:
50
54
51
55
```sh
52
56
composer global require php-prefixer/php-prefixer-cli
53
57
```
54
58
55
59
## Usage
56
60
57
-
To use the command line, you must create an account on [PHP-Prefixer](https://php-prefixer.com/), and prepare your projects with the prefix definition in the `composer.json` schema.
61
+
To use the command line, you must create an account on [PHP-Prefixer](https://php-prefixer.com/) and prepare your projects with the prefix definition in the `composer.json` schema.
58
62
59
63
Before using the command line, we recommend checking the documentation and guides here: <https://php-prefixer.com/docs/>
0 commit comments