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
1answer
16 views

Is there an easy way to convert Magento module name to composer names and vice versa?

I am in a process where I want to compare two columns in my spreadsheet. The problem is one column has Magento module names (like Magento_Swatches). The other one has composer names (like magento/...
0
votes
0answers
6 views

create extension for composer instalations with lib

Extension with next file structure: http://joxi.ru/Vm6l0vlUvna7WA I need to create a repository for composer installations what i have to do in composer.json? in the result after composer install ...
-1
votes
0answers
16 views

Magento 2 : Install extension from composer

I am trying to install an extension by executing composer require elgentos/regenerate-catalog-urls but it shows error Problem 1 - Installation request for elgentos/regenerate-catalog-urls ^0.2.6 -&...
0
votes
2answers
30 views

Magento 2.3.5 with cpanel - Unable to downgrade composer to 1.10.20

(Magento 2.3.4) I am trying to downgrade composer due to not being able to run Composer commands as follows. NOTE: from my understanding Magento 2.3 is not compatible with composer 2. composer require ...
0
votes
1answer
42 views

unable to install module via composer

I'm trying to install a couple of modules through composer on Magento 2.4 using the default composer.json, however it fails. I'm using composer version 1.10.21. According to the official documentation ...
0
votes
0answers
22 views

Failed to set PHP CodeSniffer installed_paths Config issue at Magento2.4 installation

I tried to install Magento2 using Composer. After run $ sudo composer create-project --repository=https://repo.magento.com/ magento/project-community-edition magento the installation showed the error ...
0
votes
0answers
27 views

Magento 2.4.2 Root Plugin and Composer 2 Question

We ran to following command in Magento 2.4.2 $ composer require magento/composer-root-update-plugin=~1.0 --no-update to install the plugin, just to be prepared for upcoming Magento releases. Composer ...
0
votes
0answers
16 views

Error when install and uninstall module using composer Fatal error: Cannot declare class & Fatal error: require():

I am experiencing this issue after I installing / uninstall the extension from composer. I have been working with the extension provider but they can not figure about the issue. anyone has any insight?...
1
vote
2answers
18 views

“[ErrorException] chmod(): Operation not permitted” running “composer update”

I'm running Magento 2.4.2 and I'm using Composer v2.0.11. 2 days ago, after running, as usual, composer update, I suddenly received this error: [ErrorException] chmod(): Operation not permitted You ...
0
votes
0answers
36 views

How to convert Magento 2.3 extensions to composer packages?

I have a Magento 2.3.5 installation with a number of extensions that were installed the "old-fashioned" way, i.e. through the Magento Marketplace and the Web Setup Wizard's Extension Manager....
0
votes
1answer
24 views

Installation & Varnish Test Results and MFTF Magento Supplied Results Fails on Magento Marketplace

composer.json { "name": "vendor/preorder", "description": "preorder", "type": "magento2-module", "version": "...
1
vote
0answers
28 views

Using multiple marketplace accounts with composer in the same installation

(Magento 2.3.4, 2.4.1, 2.4.2, Composer 1.10.19, Ubuntu 18, PHP 7.3) We have two marketplace accounts and paid-for extensions in both, for the same Magento instance. We'd like to use auth.json to ...
0
votes
1answer
58 views

How to solve Magento 2 with composer 2 version error when sample data install

My application running AWS Bitnami platform. I am trying to upload sample data using composer after commands show warning message below Do you want to store credentials for repo.magento.com in /...
0
votes
0answers
44 views

SSL Certificate error when trying to download the Cybersource Magento Plugin

I'm trying to install the Cybersource package for Magento. I'm new to Magento, I had a pretty hard time installing Magento itself, but I got there. Now, I'm stuck installing this cybersource module. I'...
6
votes
0answers
590 views

Magento2 installation - Failed to set PHP CodeSniffer installed_paths Config

I am trying to install Magento2 using composer. Getting codesniffer error and tried below steps to overcome the error but unfortunately it's not going away STEP 1: Tried to install magento2 $ composer ...
0
votes
1answer
25 views

How to exclude third party extensions while upgrading magento 2.3.3 to 2.3.6?

I am upgrading Magento from 2.3.3 to 2.3.6 but one of my third-party extension is looking for an update from GitHub but that extension is not available in GitHub so I want to exclude that particular ...
0
votes
1answer
32 views

unable to update to magento 2.3.6

I am trying to upgrade Magento from 2.3.3 to 2.3.6 but I am getting the below error and the update is not happening. [RuntimeException] Failed to clone https://github.com/mageplaza/magento-2-image-...
0
votes
0answers
10 views

One repository for multiple composer.json file

I want to use a main repository and to have a module that I will require through composer. Since I'm playing some integration tests and processing some pipelines such as phpmd checks, for the main ...
0
votes
1answer
47 views

Error while installing magento 2.4.1 through command in ubuntu

Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires magento/product-community-edition 2.4.1 -> satisfiable by magento/product-...
0
votes
0answers
22 views

Your requirements could not be resolved to an installable set of packages for razorpay payment gateway

i tried to update razorpay payment gateway using the below command. composer update razorpay/magento --ignore-platform-reqs But i am getting the below Output. Problem 1 - Conclusion: don't install ...
0
votes
1answer
25 views

Magento 2 - Every module as Git Repository, bad?

Our online business operates on a Magento 2.4.x installation which now has nearly 100 in-house modules that deliver features and functionality specific to our business. Every module has its own Git ...
0
votes
0answers
26 views

unable to update extension from composer

I am trying to update one of my payment gateway extension through composer and the command is composer update razorpay/update But I am getting the below errors Problem 1 - guzzlehttp/guzzle 7.2.0 ...
0
votes
0answers
50 views

Transport Exception : Content-Length mismatch Installing Magento 2.3.6

I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
1answer
15 views

I got issue regarding memory limit, I have changed php.ini files. still got same error?

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors. {"messages":{"error":[{"code":500,&...
0
votes
2answers
98 views

Composer update failing with Root package 'magento/project-community-edition' cannot require itself in its composer.json

If I install a completely fresh version of Magento in an empty directory, say 2.3.3, using the command: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-...
0
votes
0answers
12 views

Magento 2 - Composer update does not fully update core

I am on the latest version as of 2.4.1. There is a bug in my shop, I noticed that a file in vendor/magento is responsible for it (vendor/magento/module-newsletter/Model/Subscriber.php). I noticed that ...
0
votes
2answers
49 views

Magento 2 composer issue with bitbucket pipelines

I made a bitbucket pipeline and I would like to do some deployments, but my pipeline got stuck with a composer issue. This is the error message from the pipeline: The 'https://repo.magento.com/...
0
votes
0answers
10 views

How to create an artifact from a module in app/code to transfer to vendor

I heard that there is a way to archive a module with its description in the composer as an artifact. After that, during the composer install, the module will be added automatically to the vendor. Tell ...
0
votes
1answer
19 views

Facing issue in composer installation (EE version)

facing issue on composer install for EE version. any solution? Is there any way to change the Magento repo credential from the composer? I have configured one & save it in composer, I need to re-...
3
votes
3answers
3k views

Magento 2.4.1 setup:install problem : “the default website isn't defined. Set the website and try again.”

I downloaded magento 2-2.4.1.zip. Unzipped it to /var/www/html/magento24/ - my local folder for local domain http://magento24.local configured by nginx on ubuntu20.04. I had done composer update or ...
0
votes
0answers
11 views

How to make an artifact from a module instead of installing in app/code?

I have a module from a payment system. I added them to app/code. But now, to make a simple rewrite of the module template, I need to do more than just copy it if the module was in the vendor. Tell me ...
0
votes
2answers
128 views

Could not find a matching version of package

I have uploaded my magento 2 module to GitHub, and published my private module to https://packagist.com/. Now module published successfully as below. And my composer as below { "name": &...
0
votes
1answer
111 views

I am trying to install facebook php business sdk but i am getting below Fatal error

I am trying to install facebook php business sdk but I am getting below Fatal error. I used the below command composer require facebook/php-business-sdk But I am below fatal error Fatal error: Allowed ...
0
votes
1answer
12 views

Why isn't a package showing showing for update?

Using composer I would like to update xtento/productexport I am on version 2.9.0 and the most recent version is 2.14.4. When I run composer outdated it doesn't show that it needs an update. In order ...
0
votes
0answers
22 views

Magento 2 Error During Update Module Via Composer

magento/product-community-edition is locked to version 2.4.1 and an update of this package was not requested. - magento/product-community-edition 2.4.1 requires magento/module-configurable-product 100....
0
votes
2answers
49 views

Proper environment for magento2-2.3 on windows 10

I'm working on Win 10 OS. And am going to install magento2-2.3 on my local computer. Which xampp version and composer version should I use?
2
votes
1answer
1k views

Downgrade composer version 2 to 1

The "magento/magento-composer-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). ...
0
votes
0answers
20 views

How to interact with APCu?

Magento DevDocs recommends to use APCu. I have enabled it and it works somehow, but I don't why and, and when to do what. I use already apc.php. Can anyone share some knowledge regarding APCu and ...
1
vote
1answer
138 views

Installation with composer fails

Trying to install M2 using Composer with the following: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /var/www/m2 PHP: PHP 7.4.12 (cli) (built: ...
0
votes
1answer
46 views

Updating Module Via Composer will NOT Update Module?

When Updating Module Via Composer it will not Update Module on my localhostx? When I put this line. I get this error on my local host. composer require "route/route-m2" Could not find a ...
0
votes
1answer
62 views

Composer update fail: [UnexpectedValueException]

Magento 2 Composer error when trying to install modules [UnexpectedValueException] https://magento.stackexchange.com/a/316793/70292 During composer update command UnexpectedValueException was occur. ...
1
vote
1answer
989 views

Magento v2.3.5 to v2.3.6 update, composer version issue

I believe this is due to the recent update to composer, but would appreciate any thoughts... Trying to update Magento from 2.3.5 to 2.3.6, having just updated to the latest version of composer (2.0.4) ...
0
votes
0answers
17 views

Composer error in magento 2.4

Module 'Magento_ComposerRootUpdatePlugin': Running data recurring...Reading /var/www/structube/composer.json Loading config file /var/www/structube/composer.json Failed to initialize global composer: ...
1
vote
1answer
99 views

Installation failed, reverting ./composer.json to its original content. Authentication always fail even though the credential are correct in magento 2

I am alwaays getting the below error when running composer require like that. I am currently giving the authentication keys but still it displays error. Please help Installation failed, reverting ./...
0
votes
0answers
33 views

Magento admin dashboard showing after login

My admin dashboard after logging in is showing the following error: does any one know the reason behind it or how can we solve it? I have recently installed this module through composer I have ...
0
votes
1answer
113 views

Error Upgrading from Magento 2.3.4 to Magento 2.4.1

I tried to upgrade from Magento 2.3.4 to Magento 2.4.1 using these commands: composer require magento/product-community-edition=2.4.0 --no-update composer update then i got the following error like ...
0
votes
0answers
77 views

Composer install magento: Class PayPal\Braintree\Console\VaultMigrate does not exist

we are installing magento and seeing Composer install magento: Class PayPal\Braintree\Console\VaultMigrate does not exist Braintree is neither required neither replaced ... How can it go missing? Or ...
0
votes
2answers
72 views

Magento 2 Composer error - The contents from the “/vendor/magento/module-media-gallery-synchronization-api/etc/module.xml” file can't be read

We upgraded to Magento 2.4 and exec recompile All is OK no warning Only when I open the frontend I see the error below Magento 2 Composer error - The contents from the "/vendor/magento/module-...
0
votes
1answer
109 views

unable to remove patch from composer.json

I have to update extension https://i.imgur.com/SgHq8YK.png but it has an error, Can I remove it manually? I think it cant be good practice. how can I safe remove it? dockergento composer remove iwd/...
1
vote
1answer
266 views

InvalidArgumentException during Magento upgrade via Composer [Package is not installed: magento/project-community-edition-2.4.0.0]

We are seeing InvalidArgumentException during Magento upgrade via Composer [InvalidArgumentException] Package is not installed: magento/project-community-edition-2.4.0.0 It seems to be related to ...

1
2 3 4 5
13