justified in being irritated by composer install for CI4? |
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: 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. 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] |
Messages In This Thread |
justified in being irritated by composer install for CI4? - by captain-sensible - 12-11-2019, 09:55 AM
RE: justified in being irritated by composer install for CI4? - by eggbert - 12-11-2019, 10:41 AM
RE: justified in being irritated by composer install for CI4? - by captain-sensible - 12-11-2019, 11:09 AM
RE: justified in being irritated by composer install for CI4? - by eggbert - 12-11-2019, 11:18 AM
RE: justified in being irritated by composer install for CI4? - by ciadmin - 12-11-2019, 12:04 PM
RE: justified in being irritated by composer install for CI4? - by captain-sensible - 12-11-2019, 12:22 PM
|