Hi,
I am maybe asking "stupid" question but can someone help me with installing thirdparty library using composer.
First, I never used composer as I always install scripts manual (CI 4 is installed in manual way too). I know that it is used for installing and updating scripts but that is all.
So now I need to use https://github.com/ScoLib/cfscrape as part of my script is scraping data from other sources which sometimes are protected with Cloudflare DDoS protection.
I have to run this command:
But I don't know how and where. I guess that I have to login to my VPS via SSH and run it. Also have no idea where it would put files after running this command. Can it brake CI 4 folder structure or something.
Any help is welcome.
Edit:
OK, I figure it out how to use composer: login to VPS and run "composer" command.
But is there anything that I should edit like config files or something to tell composer where to install libraries according to CI4 filder structure
I am maybe asking "stupid" question but can someone help me with installing thirdparty library using composer.
First, I never used composer as I always install scripts manual (CI 4 is installed in manual way too). I know that it is used for installing and updating scripts but that is all.
So now I need to use https://github.com/ScoLib/cfscrape as part of my script is scraping data from other sources which sometimes are protected with Cloudflare DDoS protection.
I have to run this command:
Code:
$ composer require cfscrape/cfscrape
But I don't know how and where. I guess that I have to login to my VPS via SSH and run it. Also have no idea where it would put files after running this command. Can it brake CI 4 folder structure or something.
Any help is welcome.
Edit:
OK, I figure it out how to use composer: login to VPS and run "composer" command.
But is there anything that I should edit like config files or something to tell composer where to install libraries according to CI4 filder structure