Welcome Guest, Not a member yet? Register   Sign In
justified in being irritated by composer install for CI4?
#1

(This post was last modified: 12-11-2019, 10:09 AM by captain-sensible.)

As a concept i like the idea of composer and approach to dependencies but there are bits that irritate me.
Packagist usually was my first port of call since its a repo of available stuff  that you can get via composer. If you go to packagist
[/url]
its quoting


Quote:
Code:
composer create-project codeigniter4/framework



i've set up my system using 

Code:
mv composer.phar /usr/local/bin/composer

are various ways to use composer. I guess you could have the necessary entries with appropriate code to download. and options at packagist. is it fair to say that if your not quoting the composer code there is there any point in having it listed on packagist?

So let me answer myself and say, well if you g oto the docs you will see this :
Code:
composer create-project codeigniter4/appstarter -s rc --no-dev


ok thats fair i now how to use that , so i did. But have a look and see what i got (see attached image)

On the left side of the image  is a nice structure i want to see and its at path
Code:
/home/andrew/Desktop/CI4/app/



but hand on looking inside at path
Code:
/home/andrew/Desktop/CI4/vendor/codeigniter4/framework/app/

i have whats in the image on the right section. It looks to me duplication. Whats going on?


in image  CI4_manual_setup you will see what i have in /var/www/htdocs/CI this im fairly happy with. I have bootstrap setup and fontawesome with gulpfile.js so that i end up with a custom css still giving me all the benefits of bootstrap4. But lets get back to composer. its not a structure that i really want to work with. Is it something i'm doing wrong ?
gulpfile.js and scss so that I can use  sass

(12-11-2019, 09:55 AM)captain-sensible Wrote: As a concept i like the idea of composer and approach to dependencies but there are bits that irritate me.
Packagist usually was my first port of call since its a repo of available stuff  that you can get via composer. If you go to packagist
[url=https://packagist.org/packages/codeigniter4/framework#v4.0.0-rc.3]
its quoting
Code:
composer create-project codeigniter4/framework


i've set up my system using 

Code:
mv composer.phar /usr/local/bin/composer

are various ways to use composer. I guess you could have the necessary entries with appropriate code to download. and options at packagist. is it fair to say that if your not quoting the composer code there is there any point in having it listed on packagist?

So let me answer myself and say, well if you g oto the docs you will see this :
Code:
composer create-project codeigniter4/appstarter -s rc --no-dev


ok thats fair i now how to use that , so i did. But have a look and see what i got (see attached image)

On the left side of the image  is a nice structure i want to see and its at path
Code:
/home/andrew/Desktop/CI4/app/



but hand on looking inside at path
Code:
/home/andrew/Desktop/CI4/vendor/codeigniter4/framework/app/

i have whats in the image on the right section. It looks to me duplication. Whats going on?


in image  CI4_manual_setup you will see what i have in /var/www/htdocs/CI this im fairly happy with. I have bootstrap setup and fontawesome with gulpfile.js so that i end up with a custom css still giving me all the benefits of bootstrap4. But lets get back to composer. its not a structure that i really want to work with. Is it something i'm doing wrong ?
gulpfile.js and scss so that I can use  sass
[attachment=1666][attachment=1666][attachment=1666][attachment=1666][attachment=1666][attachment=1666][attachment=1666]

Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
justified in being irritated by composer install for CI4? - by captain-sensible - 12-11-2019, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB