Skip to content

Commit 663f659

Browse files
authored
Merge pull request #17 from tawk/composer-fixes
Composer and installation changes
2 parents 1dc09cf + ab6618c commit 663f659

File tree

4 files changed

+56
-147
lines changed

4 files changed

+56
-147
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Don't have a tawk.to account yet? [Create one here.](https://www.tawk.to/?utm_so
2626
5. After the installation completes, click on `Enable newly added modules` to
2727
complete the installation.
2828

29-
### Manual Installation
30-
1. Download the `tawk_to.zip` from [latest release.](https://github.com/tawk/tawk-drupal8/releases)
31-
2. In the extracted files, copy the `tawkto` directory to the
32-
`<DRUPAL_INSTALLATION>/modules` directory.
29+
### Composer Installation
30+
This method is available only if your Drupal installation has composer.
31+
1. Go to your `<DRUPAL_INSTALLATION>` folder (where `composer.json` lives).
32+
2. Run `composer require drupal/tawkto`.
3333
3. Log in to the your administration panel and click on `Extend`.
3434
4. In the module list, search for `tawk.to` and enable the module by ticking the
3535
checkbox beside `tawk.to Module`.

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@
1111
],
1212
"minimum-stability": "dev",
1313
"require": {
14-
"tawk/url-utils": "2.0.1"
15-
},
16-
"repositories": {
17-
"tawk-url-utils": {
18-
"type": "vcs",
19-
"url": "https://github.com/tawk/tawk-url-utils.git"
20-
}
14+
"tawk/url-utils": "2.0.2"
2115
},
2216
"scripts": {
2317
"lint": "phpcs -p -s -v --runtime-set ignore_warnings_on_exit true .",

0 commit comments

Comments
 (0)