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
0answers
5 views

Magento 2: how to display notification after module install via zip/composer?

I want to display a module install successful notification after module install via zip or composer.
1
vote
2answers
27 views

Magento update to version 2.3.3

My current version of Magento is 2.3.2 . I followed the docs and i executed the following commands in the console: cp composer.json composer.json.bak composer remove magento/product-community-edition ...
0
votes
1answer
18 views

Problems Upgrading magento 2.2 to 2.3 via web wizard

Hi guys ive been trying to upgrade our magento 2 store from 2.2 to 2.3 but im getting some odd dependancy issues. Does anyone have any suggestions? This is the error: Problem 1 - Conclusion: don't ...
1
vote
0answers
10 views

Composer make my web dead after installation

today i installed Composer to my SSH. But after installation my web died. I got this error Warning: require(/var/www/clients/client1/web1/web/vendor/composer/../zendframework/zend-mvc/src/autoload....
2
votes
2answers
37 views

Problem with installing extension via composer

I want to install the extension via the composer. But when I try to type the password I get this problem: Warning from repo.magento.com: You haven't provided your Magento authentication keys. For ...
2
votes
0answers
28 views

Magento 2 Module Install via Composer

I have created the Demo Module with only module.xml, registration.php and composer.json files in Bit Bucket Public Repository. Please check my composer.json file { "name": "hardikm219/demo", "...
0
votes
0answers
25 views

Could not apply patch! Skipping. The error was: Cannot apply patch XXXXXXXXXX.diff

I'm installing a code base which is created by others, then i remove the old when i run "composer install" and encounter show many this kind of error message. Anyone know what is the problem?
1
vote
0answers
34 views

Magento2 composer update get stuck and not proceeding further

I am upgrading Magento version from 2.1.9 to latest i.e. (2.3.3). Steps I followed are: composer require magento/product-enterprise-edition 2.3.3 --no-update composer require --dev allure-...
0
votes
0answers
21 views

Bypass module updation in composer update

We are having an extension installed in the Magento vendor folder named gene/bluefoot using composer. But now it's not supported anymore and don't have any packages. Now we to install another ...
1
vote
2answers
60 views

Magento 2 : how to install magento 2 Extesion using composer from github private repository?

I have developed one extension and I have uploaded that in my GitHub private repository https://github.com/bhaveshpp/Percentoffsale now I have tried to install it using composer require --dev ...
0
votes
1answer
72 views

Composer error when try install extension

I'm getting this when i'm trying to install an extension. Warning: Unsupported declare 'strict_types' in /home/SITE_NAME/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php ...
0
votes
1answer
33 views

Multiple Magento 2 Systems on a Server and Composer

I’ve been reading up a lot and it’s confusing as everyone seems to recommend using Composer to install and maintain Magento 2 but I can’t find answers to some basic questions: I have a server with ...
0
votes
1answer
19 views

Magento2: issues after composer update with store ID

I updated all modules: composer update But after update I try add product to the basket and after "Go to checkout" return issue: 1 exception(s): Exception #0 (Magento\Framework\Exception\...
0
votes
0answers
30 views

Error when adding Extension on Magento using Composer

Whenever I add an extension or module to my Magento webshop, which happens succesfully. It sends out this error when trying to use the php bin/magento command > Warning: > require(/home/...
0
votes
1answer
59 views

Error when adding trustpilot extension

Whenever I add the trustpilot extension using composer require it succeeds but afterwards when I try to use any php bin/magento command it returns it with this error: Warning: require(/home/...
1
vote
0answers
28 views

Magento 2.3.3: Instal with composer fails without show any motivation

I'm trying to install magento 2.3.3 with composer over Ubuntu 18.04 composer -vvv create-project --repository=https://repo.magento.com/ magento/project-community-edition magento Installing magento/...
1
vote
0answers
19 views

What is Autoloader_Patch in Magento.php

I have setup phpunit using composer to do some testing in Magento. And after the setup I see the following lines added to my Mage.php file. /** AUTOLOADER PATCH **/ if (file_exists($autoloaderPath = ...
0
votes
1answer
64 views

Cant install Klarna on magento 2.3.2

I tried to install Klarna in my Magento 2.3.2 website using composer trollweb. I kept getting errors as the klarna checkout was not working. In the end, I used mage2pro klarna to set it up Is there ...
1
vote
2answers
120 views

Magento Update to 2.3.3 backend after login Specified invalid parent id Magento_Analytics

i have a problem while upgrading Magento from 2.3.2 to 2.3.3. The update works fine and i have all done which mentioned here: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html ...
0
votes
0answers
48 views

Magento 2.3.2 EE Composer Install Could Not Resolve

I am using Magento version 2.3.2 EE. I am trying to run the "composer install" step (I have not modified the composer.json file in any way) and I'm seeing the following error: $ composer install ...
2
votes
0answers
36 views

Magento 2: How to install custom module in app/code folder only using composer.json file?

I'm trying to install my custom module using composer.json file and after run composer update command my custom module installed successfully in magento2. Actually I want to install my custom module ...
0
votes
0answers
20 views

How to resolve this Composer Update problem?

Please have a look on the screen shot below and let me know: What's the concrete problem here (it is not clear to me)? How to sort it out? Is there any way to do this update ignoring these ...
0
votes
0answers
16 views

Own module in bitbucket - different branch for 2.2.x and 2.3.x. How to install with composer?

i have own module in bitbucket (written at the time when was magento 2.2.x) which is overwriting magento-catalog ImageBuilder.php file. Now after testing this with 2.3.x i found, that it isnt working....
0
votes
3answers
52 views

Magento 2 - Table not deleting while uninstalling custom module using module:uninstall command

I'm a newbie in magento 2 development. I'm creating magento 2 module and testing with composer. My test project is in github. https://github.com/hussain-badusha/magento-badusha-test In my module, i ...
1
vote
1answer
63 views

How to Upgrade Magento 2.1.5 to latest version using via composer

I have installed my previous Magento 2.1.5 years ago by downloading , Now I want to upgrade to 2.3.2 using the composer. Can I directly do that. What issues may occur ?
1
vote
2answers
98 views

Composer Based Modules and PSR4 Autoloaders

Is it safe to assume that any composer based module package will have a PSR 4 autoloader section whose prefix is the full module name? i.e. "autoload": { "psr-4": { "Foo\\Bar\\": "src/" ...
0
votes
4answers
75 views

Magento2 : How To Solve Out Of Memory Limit Error While Using Composer Update Command [duplicate]

I got out of memory error while run "composer update" command, I already check memory_limit and that is 2048 M than also I am getting above error . Does anyone know how can I solve this problem ?
1
vote
2answers
71 views

Magento 2.3: InvalidAgumentException: Composer could not find the config file

I have a problem with Magento, I use X-debug for trying to debug Magento and I have the following Exception: Exception Has ocurred. InvalidArgumentException: Composer could not find the config ...
0
votes
0answers
24 views

Magento 2 Composer is not working for installing third party module on local server

I have a setup of Magento2.3.2 version and I need installation of some third party module with composer but when I try to install the module it throws below error. Installation failed, reverting ./...
1
vote
1answer
61 views

Error in Upgrade Magento CE version from 2.2.3 to 2.3.0 with composer?

I have tried using below command but getting errors when update Command 1: composer require magento/product-community-edition 2.3.0 --no-update Command 2: composer update Output: Your ...
0
votes
3answers
51 views

Magento2.3 install extention via composer but in app/code

I have an extension which was installed in app/code and override from app/code, now I have only the zip for the composer installation, is it a way to install this extension by composer but in app/code/...
1
vote
1answer
26 views

Installing Magento 2 extension via composer.json file

I bought an extension on Magento store.On my magento installation, I don't have web setup wizard and when I checked the solution for this it requires to change main config file which I don't have ...
0
votes
1answer
37 views

Magento 2 root composer.json file content?

What should the content be in the Magento 2 root folder composer.json file AFTER Magento is installed? When I add a new module, should I add this to the existing list (require, etc)? Should all the ...
0
votes
1answer
24 views

Magento update version

I'm currently running a Magento store version 2.3.0 and trying to upgrade it to version 2.3.2. If I try to update on the Magento admin I receive the message bad credentials after entering the access ...
0
votes
0answers
44 views

Invalid credentials for magento/module-store

After creating my auth.json file and adding the credentials: { "http-basic": { "repo.magento.com": { "username": "publickey", "password": "privatekey" } } } and doing a ...
0
votes
3answers
87 views

Magento 2.3 & composer : update extension

I would like to update my extension (I updated magento 2.2.6 to 2.3.1 from composer but looks like the extension also need to be updated because it's not working and it should be compatible). Then i ...
0
votes
1answer
36 views

Installing Zend_Barcode

I'm not having any luck getting Zend_Barcode to work in Magento 2. Zend_PDF is working, and I notice that it has a class in: /vendor/zendframework1/library/Zend/ but Zend_Barcode does not. I've ...
0
votes
1answer
68 views

Magento 2: Problem updating Magneto v2.2.1 to v2.3.2

i want to update my Magento to v2.3.2, when i run composer update, i get this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request ...
1
vote
1answer
64 views

Magento2: How to add dependency in composer for private Gitlab modules?

I'm installing a custom module in M2 using composer from my private Gitlab repo and it is working fine. After I've added the dependency of other modules(using composer require) in my custom module ...
1
vote
1answer
341 views

Autoload error: Vendor autoload is not found. Please run 'composer install' under application root directory in Magento 2

I cloned one gitlab project into the local system in windows. When I am running the project it shows the error like this. Vendor autoload is not found. Please run 'composer install' under the ...
0
votes
0answers
25 views

Composer Error When try to Update or Upgrade Magento 2.2

I have in my system installed Centos 7 and php-fpm with some version of PHP 7, when I try to use composer update I get this message I would like to know how to fix that problem
0
votes
3answers
53 views

How to deploy to production server customizations made in vendor folder?

So, We have 3 environments: development, staging and production. .gitignore file includes "vendor" folder and it has been working fine for us fine. Once We pull changes in Staging We would just run: ...
0
votes
1answer
121 views

Product page fails to render

When you click on a product page, it only shows a one image. Looking at the stack trace, it looks like there is some PHP error. I think when I patched to 2.3.2, maybe something didn't updated? How ...
0
votes
1answer
144 views

Magento 2 upgrade killed process

I want to upgrade Magento 2.1.7 to Magento 2.3.2 and I follow below commands sudo composer require magento/product-community-edition=2.3.2 --no-update sudo composer require --dev phpunit/phpunit:~6.2....
0
votes
0answers
27 views

composer installed.json emptying

My installed.json randomly gets empty what causes composer errors at magento page, It happens randomly, mostly after php bin/magento setup:upgrade command. The only solution I can fix it is composer ...
0
votes
0answers
23 views

I can not install anything via Setup Wizard

I'm using magento 2.2.6. I used to have an error on the ComponentDependencies in the readiness check. I passed that error, by removing the: "require-dev": { "phpunit/phpunit": "~6.2.0", ...
2
votes
1answer
64 views

Composer invalid Argument exception PHP requirement (7.2.10)

I'm trying to install a custom Magento2 module using composer. The module version is 2.4.0, here below my composer.json file: { "name": "fattura24/app-fatturazione", "description": "Module to ...
1
vote
1answer
31 views

how to open composer in/for cpanel.?

I am working on a magneto 2 site and everywhere I go there is written run this command and run that command but no explain how can I open that command line or composer. please explain
0
votes
1answer
45 views

setting up local environment from private git

I started a new project and am pretty new to Magento 2. The person gave me access to there personal git repo with there magento that they use fro production. They also gave a dump of the database. ...
0
votes
1answer
106 views

Errors Installing Data Migration 2.2.0 Tool with Composer

Running the different commands below and getting errors with each of them. How do I get the data migration tool to install? I also pasted in our composer.json file below. First Attempt This one ...