From d4f13c41739d0450a2a6a91962b4739a47aa9ef5 Mon Sep 17 00:00:00 2001 From: Gennadi McKelvey Date: Wed, 10 Jul 2024 12:55:16 +0200 Subject: [PATCH] update index.md (#1430) remove suggesting shim --- docs/index.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/index.md b/docs/index.md index 33ad0d0ee..d3a6b7a2a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -23,7 +23,7 @@ You can analyse projects that require an older PHP version as long as ## Installation -You can install Deptrac via Composer. We recommend using the [deptrac-shim](https://github.com/qossmic/deptrac-shim) package for this. +You can install Deptrac via Composer. We recommend using the [deptrac](https://github.com/qossmic/deptrac) package for this. Alternatively, you can also use [PHIVE](#phive) or download the [PHAR](#phar) attached to each release on GitHub. This will ensure that Deptrac and its dependencies are @@ -31,16 +31,8 @@ bundled together and will not interfere with any of your project's dependencies. ### Composer -We strongly advise against using the deptrac package directly as a composer dependency. -We update dependencies regularly, which might cause disruptions in your project. -Instead, please use the dedicated distribution repository . - -When you install Deptrac using the qossmic/deptrac-shim package, you will get -the benefit of using the phar installation, but you can use it like any other -composer dependency, i.e. you run Deptrac like this: - ```console -$ composer require --dev qossmic/deptrac-shim +$ composer require --dev qossmic/deptrac vendor/bin/deptrac analyse ``` @@ -61,7 +53,7 @@ Feel free to add Deptrac to your PATH (i.e. `/usr/local/bin/deptrac`) to make it globally available. ```console -$ curl -LS https://github.com/qossmic/deptrac/releases/download/1.0.2/deptrac.phar -o deptrac.phar +$ curl -LS https://github.com/qossmic/deptrac/releases/download/2.0.1/deptrac.phar -o deptrac.phar # optional $ sudo chmod +x deptrac.phar @@ -75,7 +67,7 @@ You can install Deptrac with [Phive](https://phar.io/#Install) `phive install -g qossmic/deptrac` and accept the key with fingerprint -`41DD E075 4745 9FAE CFA1 7813 B8F6 4013 4AB1 782E`. +`57CB 556F 242F C8D4 FD48 3C2C 4743 6587 D82C 4A39`. To upgrade Deptrac use the following command: