Reputation: 715
I'm just wandering if I can ask this here. I'm trying to install a package called Laravel Page Speed from my site that has already been hosted. My question is how can i install this package / any kind of package without composer into my hosted site. Or if i can install this with composer, how can i do this ?
I use Filezilla for ftp.
I've tried using the cmd
's ftp
command but its not working. Anyone have manage to do this ? Any answers will be helpful. Thanks
Upvotes: 0
Views: 1745
Reputation: 1309
I guess it is shared hosting. Please setup the project on local machine and then install the required package. After installing just replace the hosted site’s vendor directory with your local vendor directory through any ftp client and it should be installed there too.
Upvotes: 3
Reputation: 8560
you need to have ssh access to server and then just run this :
composer require PACKAGE_NAME
Upvotes: 0