I tried install package watson/rememberable on localhost and it's installed successfully but when tried install it on shared hosting package killed
and added package name to composer.json
file, but not installed source code to vendor
folder. I tried install package by clearing composer & Laravel caches but package not installed. How I can install it correctly?
Asked
Active
Viewed 242 times
-3

OMR
- 11,736
- 5
- 20
- 35

Andreas Hunter
- 4,504
- 11
- 65
- 125
-
What happen when you install the package, is there any error message? – catcon Sep 26 '19 at 06:54
-
Please provide more detail. Also, it's not clear what you mean with "[...] on shared hosting package `killed`". – Alberto Dallaporta Sep 26 '19 at 06:54
-
Not any error message. Only `killed` message @catcon – Andreas Hunter Sep 26 '19 at 06:55
-
1This might help: https://stackoverflow.com/questions/20667761/composer-killed-while-updating – catcon Sep 26 '19 at 06:56
-
1Possible duplicate of [Composer killed while updating](https://stackoverflow.com/questions/20667761/composer-killed-while-updating) – digijay Sep 26 '19 at 07:10
-
Please provide more details such as errors etc :) – Suvin94 Sep 26 '19 at 07:43
2 Answers
0
To install the most recent version, run the following command:
composer require watson/rememberable
OR
Add to composer.json
file:
"require": {
"watson/rememberable": "^3.1",
},
After, Run this command in the command prompt: composer update

Udhav Sarvaiya
- 9,380
- 13
- 53
- 64