-1

i want to install git-hub below package:

" realrashid/sweet-alert "

package in my laravel online running project my project running in cpanel shared host

Any help in this ?

Avinash Dalvi
  • 8,551
  • 7
  • 27
  • 53
user12380208
  • 519
  • 7
  • 26
  • You can also manually install package without package. [link](https://stackoverflow.com/questions/45566233/laravel-how-to-manually-install-package-without-composer) – Nazmul Haque Mar 20 '21 at 05:08

2 Answers2

1
  1. Connect SSH / Terminal
  2. Go to your project root folder like cd prohect-path
  3. command run composer require realrashid/sweet-alert

if composer is not install then first install composer in your live server.

or

you can follow step @Mo5tafa

kelvin kantaria
  • 1,438
  • 11
  • 15
0

Install whole composer packages locally, and move your project to zip/tar.gz file and then upload your zip file project to shared host (with cpanel file manager or filezilla), finally unzip your project.

Mostafa Babaii
  • 158
  • 3
  • 7