Skip to content
Advertisement

Tag: composer-php

Failed while installing a package using composer

iam tryin to use a cart package by using this command composer require jason-napolitano/codeigniter4-cart-module and it’s failed. this is what it said is it because my minimum-stability in composer.json is set to “stable”? Answer I presume you created your project by using composer create-project codeigniter4/framework. This effectively created a clean project for you without the .git folder, thus removing any

Container cannot see the prebuilt vendor folder in it

My project is throwing the next error after restarting the docker container: Warning: require(/var/www/ /var/www/ /vendor/composer/./symfony/polyfill-php80/bootstrap.php): Failed to open stream: No such file or directory in ‘vendor/composer/autoload_real.php line 71 My Dockerfile: My docker-compose: Inside container run ls vendor/symfony before restarting the container: And after: The error is solving if remove the vendor directory and run composer install. I’m not a

How to use Javascript or CSS files installed by Composer?

How do I actually use the frontend files that Composer installs? Specifically JavaScript. I’ve been able to use a PHP file previously, but JavaScript files are breaking my brain… I’ve installed Composer and used it to install a package (Handlebars, specifically). Everything looks like it should. I’ve got a handlebars folder in my vendor folder and it created a “components”

Edirectory Symfony Composer Install Package Conflict

I am helping someone install E-Directory. It’s overall a buggy app. composer.json This is the message I get when I run composer update: Could someone please explain what I should do next? I’ve been struggling for hours, eliminating dependencies, putting specific versions, etc. Any guidance is appreciated. Update: I tried this is what I got I also tried eliminating symfony-console

Github stars not showing correctly in packagist

I have recently created an open source project in github. https://github.com/sagautam5/local-states-nepal And then, I have uploaded this package to https://packagist.org, After that, I have made auto updating by adding web hook. Main problem is star counts are not showing correctly in packagist. There are 10 stars in the github project but only one star is shown in packagist ? Did

DNS resolver issue Composer 2

Composer version: 2.0.4 OS: macOS 10.15.7 When I run composer diagnose I get DNS resolver issue as seen in the attached image I am able to ping getcomposer.org, packagist.org, github.com – all sites from the terminal. curl -i packagist.org -L also works as expected without any error Yet with composer diagnose I am getting DNS resolver issue This started happening

Advertisement