Skip to content

Commit 4a7792a

Browse files
committed
Update install in readme
1 parent 2ff67d4 commit 4a7792a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ Toggle php extensions from command line
1313
- `service` command to restart php-fpm or apache on linux
1414

1515
## Install
16-
1. ```composer global require xtrime-ru/php-extensions-toggle```
16+
```
17+
composer create-project xtrime-ru/php-extensions-toggle && rm -rf php-extensions-toggle/
18+
```
19+
20+
## Remove
21+
```rm /usr/local/bin/php-extension```
1722

1823
## Usage
1924
```

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
"scripts": {
1313
"post-autoload-dump": [
1414
"cp php-extension.sh /usr/local/bin/php-extension"
15-
],
16-
"post-package-uninstall": [
17-
"rm /usr/local/bin/php-extension"
1815
]
1916
}
20-
}
17+
}

0 commit comments

Comments
 (0)