Welcome Guest, Not a member yet? Register   Sign In
Using composer to install thirdparty library
#3

(This post was last modified: 10-15-2020, 01:57 AM by Didytz.)

captain-sensible tnx for reply.
I did visit composer web page to try figure it out and I did in some way but I am not sure how it will play along with CI4.

So lets clarify few thing:
1) I am running VPS on which I have 5 non related projects, and on of them are this Codeigniter 4
2) I tried to login via SSH to my server and run "composer" command which showed me that composer is installed and ready to use
3) I would like to install  cfscrape only to my Codeigniter 4 project and not others on server as I don't need it anywhere else
4) My CI4 framework is not installed via composer but I installed it manual so I don't know if paths and other important things are set correctly for installing new libraries via composer

-----------------------------
So I figure it out that if I want to install something with Composer only in specifi folder I need to run composer in that project, righ? 
1) login to server
2) cd web/my_project
3) composer
4) run command
5) -it installs something in vendor folder somwhere under /my_project....

is this correct logic?

Under CI 4 structure I don't know where is vendor folder and how to tell composer to install it there.
I see that i have composer.json file in root of my project. Is there need to edit it first?
Reply


Messages In This Thread
RE: Using composer to install thirdparty library - by Didytz - 10-15-2020, 01:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB