Questions tagged [composer]

Composer is a tool to manage dependencies in PHP. It supports fetching dependencies from different sources like Git, SVN, PEAR, the local filesystem, etc. and also offers automated autoloading support.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Class Zend\Console\Response does not exist After Magento 2 upgrade

After upgrade from Magento 2.4.2 to 2.4.4, and run bin/magento setup:di:compile I got this error Class Zend\Console\Response does not exist This is my composer.json file { "name": "...
0 votes
1 answer
21 views

How to upgrade Magento in live site?

I am working Magento2.3.4 in live site. I'd like to upgrade Magento2.4.5. so I cloned live site in subdomain. In this case, how can I upgrade Magento? I want to test in subdomain and then put in live ...
1 vote
3 answers
125 views

Upgrading from Magen2.3.4 to 2.4.5

I am using Magento 2.3.4 now. I want try to Magento 2.4.5. But I don't upgrade Magento. when run command in cpanel terminal, show error like this. $ composer require magento/product-community-edition ...
0 votes
1 answer
25 views

Magento 2 while upgrading an error of requires facebook/php-business-sdk but these conflict

We are using Magento 2 We are able to install Facebook Business SDK installation via composer but when we are trying to install facebook-for-magento2(https://marketplace.magento.com/facebook-facebook-...
  • 1,173
0 votes
0 answers
24 views

Magento 2 error: MiBsyntax error, unexpected ')', expecting variable in vendor/composer/ClassLoader.php(428)

I am a bigginer in magento 2 I came across with this error when hit sudo php bin/magento setup:di:compile Looks like the issue is inside the ClassLoader.php file so i remove the classLoader.php and ...
1 vote
0 answers
22 views

Composer installs Extensions to /vendor but Magento path is /app/code Fails to Load

I installed a magento extension via composer require I can see the files in /vendor but when I click on the extension from the admin panel it gives me an Exception that the Class does not exist as the ...
1 vote
1 answer
21 views

Composer versioning (what does each number means?)

I realy didn't find any answer on simple queastion what doues each number(example: 1.0.0) in version means? I can imagine that minor major ones, like if our packege became 1.0.1 so some minor changes ...
0 votes
0 answers
16 views

Remove Malware From Magento Site

Is there anyone help me please for removing malware from the sites. Screenshot is attached. Please check and help me. I'm very worry about that.
0 votes
0 answers
49 views

Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in

Below is the error I get in store frontend. Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in /home/magento/web/mymagentostorename.com/public_html/poms/libs/...
0 votes
1 answer
78 views

Your requirements could not be resolved to an installable set of packages reponse

During installing Magento using Composer i get: Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires magento/product-community-edition 2.4....
0 votes
1 answer
25 views

Composer Install fails with Checksum on live search

I have a Cloud project that we have been working on for a few months. This was initially installed via composer and has been running fine for a while. Recently I had to reinstall the vendor folder and ...
  • 682
0 votes
2 answers
135 views

Composer update created error: require(vendor/magento/composer-root-update-plugin/registration.php): failed to open stream: No such file or directory

I have updated Composer to 2.4.4 as a prerequisite to updating Magento to 2.4.5, however now I'm getting errors in SSH when trying to run any other command and HTTP on a page execution: SSH: In ...
0 votes
1 answer
25 views

create Magento package in packagist

I am trying to require my package newly setup in packagist and github in a magento local projet when I run command. composer require anasstouaticoder/magento2-module-instantconfigurationcopy but I am ...
0 votes
1 answer
142 views

Composer issue when updating magento version to 2.4.5-p1

When I run composer require magento/product-enterprise-edition=2.4.5-p1 -W I got the following error Problem 1 - magento/product-community-edition 2.4.5-p1 requires magento/module-catalog 104.0.5-...
  • 86
0 votes
1 answer
28 views

Risks of updating composer from 1.10.24 to 2.1.0 on a Magento 2 instance

I want to update Magento from 2.4.1 to 2.4.4-p2 and I need to do other updates first, including updating the Composer from 1.10.24 (current version) to at least 2.1.0. The issue is that my production ...
  • 17
1 vote
1 answer
28 views

Magento 2 composer update removes pub/media and all other important folders

After running composer update, composer starts upgrading and downloading. After that the update of packages are marked red "Update of name/module_name failed". And all my important folders ...
0 votes
0 answers
10 views

Rename module's composer package

i'd like to know if it's possible (and if so, how) to rename a module i published to the composer repository/marketplace. My module's current name is "companyname/magento-2-extension" and i'...
  • 113
1 vote
1 answer
33 views

Module doesn't work when placed in `app/code`

i'm editing a Magento 2 module. If i install the module via composer require, then run all the necessary commands, the module works. If i manually copy the module files from vendor/{vendorname}/{...
  • 113
1 vote
2 answers
144 views

Updating from 2.3.5 to 2.4.4 gives magento/framework 102.0.5 requires php ~7.1.3||~7.2.0||~7.3.0 error

Magento 2.3.5 I am trying to update from Magento 2.3.5 to Magento 2.4.4-p2. The commands I executed are: composer require magento/product-community-edition=2.4.4-p2 --no-update --use-default-magento-...
0 votes
1 answer
177 views

Magento 2 - "Installation failed" with composer

Magento 2.4.3-pl - PHP 7.4.30 When trying to install any new extension using Composer I receive "Installation failed" messages, like so: Installation failed, reverting ./composer.json and ./...
0 votes
3 answers
42 views

How i install Magento 2.4.3p2 using composer?

I am new in magento. so, please give me a hint how to install magento 2.4.3p2 using composer with sample data
0 votes
1 answer
67 views

Magento 2 no longer depends on DotdigitalGroup

After upgrading Magento from 2.4.2 to 2.4.4, I am getting this error [2022-09-19T12:09:48.690729+00:00] report.DEBUG: Source class "\Dotdigitalgroup\Sms\ViewModel\TelephoneInputConfig" for &...
0 votes
2 answers
161 views

upgrading to magento from 2.4.3 to 2.4.4 with php 8.1

I am upgrading Magento CE from 2.4.3-p1 to 2.4.4-p1 with php 8.1 but I got this problem facebook/graph-sdk does not support php 8.1 and it is PHP package not Magento 2 Module, facebook/graph-sdk 5.6....
0 votes
1 answer
8 views

Install Live Search for Magento - package not found

I've installed Magento with sample data on a virtual machine. Now I'm trying to install Live Search for it. I used the instructions from this link. As the instruction says, I run the command below: ...
0 votes
0 answers
18 views

Problems when using composer require with Magento/Framework in Magento 2.4.2

Using Magento 2.4.2 Composer 2.2.17 I am trying to install Mollie Payments in Magento 2.4.2. Using Composer version 2.2.17. After running composer require mollie/magento2, i get the following problems:...
2 votes
3 answers
456 views

curl error 56 during composer install

We have have recently upgraded Magento from 2.3.5 to 2.4.4 and trying do deploy the update to our staging server. During the composer install we get the following error after a while: $ php8.1 /usr/...
  • 2,008
0 votes
0 answers
368 views

PHP's phar extension is missing. magento2.4.5

I have been installing Magento2.4.5 getting below error while executing composer install Can anyone suggest me how to resolve this. PHP's phar extension is missing. Composer requires it to run. ...
1 vote
0 answers
33 views

Magento 2.4: Error on running composer require magento/quality-patches

I am getting this error as soon as I enter the username (access key from the marketplace): Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\Helper\exec() in phar:///...
  • 300
0 votes
1 answer
28 views

Moved modules from vendor to code, modules not working

I've removed a couple of modules from composer, and placed the folder/files into the app/local folder according to the structure als mentioned in the registration.php. The modules are enabled as seen ...
1 vote
1 answer
44 views

Update with composer

We've took over a magento store. Whenever I try to update, I'm getting the following errors: Problem 1 - magento/inventory-composer-installer 1.1.0 requires composer-plugin-api ^1.1 -> found ...
1 vote
1 answer
102 views

Move modules from vendor to app

We've took over a Magento2 store which is using several (payed) modules without a working license key which wont be provided by the previous agency. The modules are created by the previous agency, so ...
2 votes
2 answers
109 views

Magento2: How to create a patch for custom module composer.json?

I want to know that can we create patch for some changes in composer.json of custom module. I am talking about custom module composer not magento composer. Its just like changes but instead of any php ...
0 votes
0 answers
18 views

Add patch to the composer.json of a module

I want to update the req php version of a custom module composer.json and for that i've made a patch but problem is module requires php 7.3 and my magento version reqs php 7.4. I can change manually ...
0 votes
0 answers
10 views

Get stuck when using magento2/vuestorefront/composer

rookie here. Im trying to connect magento2 with vuestorefront using composer. I am following this guide: https://docs.vuestorefront.io/magento/installation-setup/configure-magento.html. On step 2, ...
  • 1
0 votes
2 answers
12 views

How to install exact same module versions to production installation

I have tested all extensions and theme in staging installation and now I need to install the exact same versions of each module and theme to the production installation by using composer. What is the ...
  • 1,521
0 votes
1 answer
207 views

Package urls replaced by 2tvenom/cborencode

I am working on an upgrade from Magento 2.3 to 2.4.3-p2. After a recent composer update of an extension a lot of repository URLs were replaced with random entries like the below. `codeload.github.com/...
  • 788
0 votes
0 answers
14 views

Magento 2.4.2: Unable to find a compatible set of packages based on your non-dev requirements alone

Running composer update command after running composer require-commerce magento/product-community-edition 2.4.4 --no-update --interactive-root-conflicts causes the following error in the process of ...
0 votes
0 answers
354 views

Magento 2.4.2: Your requirements could not be resolved to an installable set of packages

Running the command composer update --with-all-dependencies when trying to upgrade Magento 2.4.2 to 2.4.4. throws this message in red Your requirements could not be resolved to an installable set of ...
0 votes
1 answer
86 views

Magento: 500 Internal Server Error after upgrading to 2.4.4

The store front shows 500 Internal server error after I followed all instructions in the article here to upgrade Magento. On checking the version of Magento with the command bin/magento --version ...
0 votes
1 answer
114 views

Composer\Downloader\FilesystemException Filesystem exception:

As I ran the command composer require -w as part of the process to upgrade Magento 2.4.2 to 2.4.4, I found the error seen in the image below. Below is the article I'm referring to upgrade Magento. ...
0 votes
1 answer
78 views

Magento 2 Composer Install Allowed memory size exhausted

I am installing Magento 2.4.3 community edition in my local machine. Machine Specifications: 1.Linux (Ubuntu OS) 2.Nginx 3.Php 7.3 and Mysql I've set the memory limit as -1 (unlimited) and all other ...
  • 1,627
0 votes
1 answer
17 views

Updating magento by composer error

I'm trying to update a magento2.3.4 store to magento2.3.6-p1 using composer, composer-1 require magento/product-community-edition=2.3.6-p1 What could it be? any help is appreciated... update: I ...
0 votes
1 answer
57 views

composer require <module_name>:<version> 2.4.4

Hello i'm trying to install a plugin with composer in Magento 2.4.4 but how can i fix following error? Thanks
0 votes
1 answer
150 views

Rewrite GuzzleHttp\Client in Magento2 not working

Though it is very basic or I suppose to have this working straight but after spending hours am looking for community experts insight/support. Have to add monitoring of all outgoing requests from ...
0 votes
0 answers
107 views

Composer hangs when downloading magento/magento2-base package

When I try do a composer install it hangs when downloading Magento base package. I confirmed it's not the keys. When I enter wrong credentials it just fails and reports the credentials are wrong. I ...
  • 1,384
0 votes
1 answer
228 views

composer showing error when i install a plugin on magento 2.2.11

I am doing as below: /usr/local/lsws/lsphp72/bin/php composer.phar require facebook/php-business-sdk --no-plugins its showing error as: Using version ^13.0 for facebook/php-business-sdk ./composer....
1 vote
1 answer
596 views

Magento 2.4.4 EE composer update issue

I have installed fresh Magento enterprise edition, after installation, the command composer install was run successfully. Now when I run the command composer update I am getting this error, Root ...
  • 9,033
1 vote
1 answer
145 views

Moving Magento core modules from app/code to vendor?

Magento 2.4.3 I need to move the Magento core files which were installed in app/code/Magento by accident to the vendor folder so they can be updated with composer. Any advice on how to do that? Could ...
0 votes
1 answer
2k views

composer update failed with "Failed to set PHP CodeSniffer installed_paths Config"

New to magento I wanted to upgrade my Magento to 2.4.4 . Using php 7.4 with Ubuntu 20.04 and nginx composer -vvv update I get this: Dependency resolution completed in 0.003 seconds Installing ...
  • 103
0 votes
1 answer
68 views

Setup composer.json for updating to lasted version later

I want to set up my composer.json then able to update the to newest version lately For example: module has composer.json { "name": "vendor/module", "description": ...

1
2 3 4 5
15