This repository was archived by the owner on May 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,16 @@ The command works in three steps:
2323
2424## Installation
2525
26+ ### Composer
27+
28+ For a system-wide installation via Composer, you can run:
29+
30+ ``` bash
31+ $ composer global require sensiolabs-de/deprecation-detector
32+ ```
33+
34+ Make sure you have ` ~/.composer/vendor/bin/ ` in your ` PATH ` and you will be able to call the ` deprecation-detector ` command.
35+
2636### Standalone installation
2737
2838Clone the repository
@@ -43,13 +53,15 @@ Create phar archive with [Box](http://box-project.github.io/box2/) (optional)
4353$ box build
4454```
4555
46- If you want to call the deprecation-detector globally, it needs to be placed in your ` PATH ` . For example with:
56+ Provided you created the phar archive, if you want to call the deprecation-detector globally, it needs to be placed in your ` PATH ` . For example with:
4757
4858``` bash
49- $ sudo chmod a+x deprecation-detector.phar
50- $ sudo mv deprecation-detector.phar /usr/local/bin/deprecation-detector
59+ $ chmod a+x deprecation-detector.phar
60+ $ mv deprecation-detector.phar /usr/local/bin/deprecation-detector
5161```
5262
63+ Otherwise you can call ` bin/deprecation-detector ` directly.
64+
5365## Usage
5466
5567
You can’t perform that action at this time.
0 commit comments