Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

Unsupported declare 'strict_types' in Magento 2.3.0

Error : Unsupported declare strict_types in ../vendor/magento/inventory-composer-installer while install the extension using composer in Magento 2.3.0.
0
votes
0answers
19 views

Magento 2.3 installation PHP requirement

I'm trying to update Magento 2.2 to version 2.3 using this command: composer require magento/product-community-edition=2.3.0 When doing so, I receive the following error: Loading composer ...
1
vote
0answers
16 views

Composer Problem. Could not find a matching version of package <name>. Check the package spelling, your versi

I have big problem ;/ And dnt know how i make this... i write composer require searchanise/search-autocomplete and Could not find a matching version of package searchanise/search-autocomplete....
0
votes
1answer
22 views

magento 2 extension composer update error - Please update your modules: Run “composer install” from the Magento root directory

My Siteground shared hosting plan does not allow me to use composer (memory limit). How can I fix this issue? is there a way to manually update it without composer? or how can I disable this module? ...
0
votes
0answers
48 views

Upgrade Magento 2.2.6 to 2.3.0 Resolving dependencies through SAT

I am trying to update my Magento CE 2.2.6 to CE 2.3 with composer but am getting the following. Reading C:/Users/garry/AppData/Local/Composer/repo/https---repo.packagist.org/provider-php-cs-fixer$...
0
votes
1answer
9 views

Plugin class Magento\NewRelicReporting\Plugin\StatePlugin doesn't exist

I just update my Magento 2.2 core components using the command composer update -vvvv and then I got a lot of updates which caused this issue below when I tried to run php bin/magento setup:upgrade. ...
0
votes
1answer
25 views

How to enable my bugfix extension to run in a specific Magento 2 version?

I'm creating a module in order to fix a bug in Magento 2.3.0 that will be part of the next release. So, I would like to restrict via Composer the dependencies of that module. How can I restrict my ...
0
votes
0answers
10 views

How to fix error in Web Setup Wizard - Command “show” failed: [Composer\Downloader\TransportException]

This is the error when I click on Extension Manager: Command "show" failed: [Composer\Downloader\TransportException] The 'https://repo.wyomind.com/packages.json' URL required authentication. You must ...
0
votes
1answer
106 views

Issues while upgrade to Magento 2.3.0

I am upgrading to Magento 2.2.5 to Magento 2.3.0, Some of the third party module is giving error while composer update. my current php version is 7.2.12 Can you please help me out? Please refer below ...
0
votes
1answer
15 views

M2: Impossible install language pack

I'm trying install Czech language pack via composer from mageplaza: https://www.mageplaza.com/magento-2-czech-language-pack.html When I run then get issue: Problem 1 - Installation request for ...
0
votes
1answer
77 views

Migrate Magento 1.9.2.1 to Magento 2.3.0

I want to migrate Magento 1.9.2.1 to Magento 2.3 (Without Sample Data). But, when I execute composer update command. It's return some errors. The "magento/inventory-composer-installer" plugin was ...
1
vote
1answer
280 views

Upgrade Magento from 2.2.6 to 2.3

I am trying to update Magento from version 2.2.6 to 2.3, but i get this errors: sh-4.2# composer require magento/product-community-edition 2.3.0 --no-update ./composer.json has been updated sh-4.2# ...
1
vote
3answers
706 views

magento 2.2.6 to 2.3 upgrade fails with composer

I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors : Your requirements could not be resolved to an ...
5
votes
4answers
450 views

Cannot upgrade from 2.2.6 to 2.3 via composer

I have a clean Magento 2.2.6 with sample data that I installed using composer. I am trying to update it to Magento 2.3 so following the steps outlined here by the Magento team. After running ...
1
vote
0answers
17 views

Source Key should be specified

We are in the process of moving our Magento site to a new hosting platform. After moving all of the files and making some changes to the template XML, the frontend of the site is now working as ...
1
vote
0answers
20 views

Source class for generation not found

I am using a composer library in my custom module. The link for the library is here. This library in turn uses https://github.com/tightenco/collect The {Vendor}/{Module}/composer.json is { "name":...
1
vote
3answers
55 views

n98-magerun.phar not working - PHP Fatal error: Class 'Phar' not found

I can't execute n98-magerun.phar, I get PHP Fatal error: Class 'Phar' not found. I am using PHP 5.5.14 (cli) Any hints how to solve this?
0
votes
1answer
27 views

Instructions to update extension in Magento 1.9

I'm relatively new to Magento and am currently using version 1.9.3.9. Out payment system providers (Adyen) have recently provided a new version of their extension with better security (on gitlab this ...
2
votes
1answer
48 views

Composer conflicts Magento 2

What is the best way on resolving git conflicts with composer.json and composer.lock . I have two extensions created from master installed through composer , one is approved to be merge , the other ...
0
votes
0answers
19 views

Magento 2 load component composer dependencies

I am trying to develop simple Magento 2 module. Accoding to Composer integration guide I had to put all my dependencies into composer.json file into my module root. According to Default File Structure ...
0
votes
0answers
12 views

MCOM connector not getting installed Magento2

I am trying to install MCOM connector module from composer, but getting following error. [InvalidArgumentException] ...
0
votes
1answer
20 views

unable to composer update while installing Magento

magento/product-community-edition 2.2.3 requires ext-dom * -> the requested PHP extension dom is missing from your system. - magento/product-community-edition 2.2.3 requires ext-dom * -> the ...
0
votes
1answer
20 views

Magento 2 install package with composer without SSL

I am trying to install a package composer config repositories.swissup composer http://swissup.github.io/packages/ Which result in this error Your configuration does not allow connections to http:...
0
votes
2answers
105 views

magento 2.2.6 install via composer

I can't Install Magento 2.2.6 via composer on macOS High Sierra + I'm use MAMP Pro and getting some problems : Your requirements could not be resolved to an installable set of packages. ...
0
votes
0answers
11 views

Create Composer mapping files

I would like to automatically generate the mapping of my module files to the composer.json file. Is there an executable? "extra": { "map": [ ... ] }
0
votes
1answer
34 views

Elasticsearch Error - call_user_func_array() expects parameter 1 to be a valid callback

I have an M2 with Elasticsearch installed, with the Smile/Elasticsuite module. These are my versions in composer.json: "smile/elasticsuite": "2.5.15", "elasticsearch/elasticsearch": "^2.2.3" And ...
0
votes
0answers
30 views

Composer command not running magento2

I am trying to run the following command - composer require ebizmarts/mailchimp-lib But I am getting following error on command line - [UnexpectedValueException] ...
0
votes
3answers
157 views

Elasticsearch setup:upgrade error: No handler for type [text] declared on field [search]

I am trying to install smile/elasticsuite using composer but I am getting a really strange error. To install the module I used: composer require smile/elasticsuite:2.6.0 And got successful ...
0
votes
2answers
26 views

Magento2 composer update issue

I have installed one module with composer and that module stored in vendor folder. Now i do not need that module, I have deleted from it and run the commnad "composer update" Still i can see the ...
0
votes
0answers
81 views

Magento 2: Invalid credentials for … aborting

I was trying to use composer install with my project, and this message show up, please help. Thanks :) Or please tell me how to ignore a package in composer install, i've try composer remove magento/...
0
votes
1answer
59 views

Magento 2.1.7 to 2.1.15 upgrade issue

I have upgraded my magento version 2.1.7 to 2.1.15. The upgrade process working fine. But the issue is my home page contents are not loading. It loada product detail page content in the home page. ...
3
votes
3answers
66 views

How to solve this error?

I am trying to upgrade magento version from 2.1.9 to 2.1.10 I got following error. Module 'Magento_Ui' from '/home/zitomer/upgrade.zitomer.com/app/code/Magento/Ui' has been already defined in '...
1
vote
0answers
17 views

Invalid crendetials when runing composer require magento 2 extension

I got this error when running this command composer require my extension from marketplace :
4
votes
1answer
96 views

Magento2 | Which procedure to upgrade to 2.2.6 in area development / GIT?

We have started development on a Magento CE 2.2.5 and installed theme / modules and custom module. We are working with local project/server versioned with GIT. The gitignore file specify to ...
1
vote
0answers
34 views

Problem with CLI installing module

Im trying to install sitemap module for Magento 2 and i got this message via cli, i make some changes in composer.json { "name": "mageplaza/module-sitemap", "minimum-stability":"dev" "...
2
votes
1answer
124 views

Magento 2 : Plugin autoload error

I have recently move a magento 2.2.5 website to a new server and now when I run an upgrade command or compile command I receive the below error. I have tried deleting any and every folder i can find ...
0
votes
2answers
32 views

Magento 2 version(s) in composer

We are getting ready to upgrade from v2.2.2 to v2.2.4. Due to our deployment process, I need to push the composer.json so it can be upgraded properly via the git rather than doing it in the backend. ...
0
votes
1answer
29 views

What is the Composer.Json file and what is it used for?

I would like to know what the composer.json file is actually used for when I create a new module. I know it's an optional file that can be created when I create a new module so why include it? ...
1
vote
3answers
64 views

Magento2 Delete config row while Extension Uninstall

I have created a custom module which is being installed via composer. When I run the command - php bin/magento module:uninstall Vendor_Faq It is removing all the corresponding tables which I wrote ...
2
votes
1answer
92 views

How to load a classmap[ped] Composer class (packagist) in Magento 1?

I've installed and deployed magento-hackathon/magento-composer-installer in my Magento 1.9 and I am trying to add and use mpdf/mpdf (composer packagist) in a controller. This package contains a ...
0
votes
1answer
45 views

Magento2 How to create custom module which will be install in Vendor folder using composer

I have created an extension now I want to install this using composer command in the vendor folder.
0
votes
0answers
23 views

Possible to install MFTF on magento 2.2.5?

I'm attempting to install the MFTF on magento 2.2.5. Is this possible? I have tried following the instructions here, but they don't work: https://devdocs.magento.com/guides/v2.2/magento-functional-...
0
votes
4answers
317 views

Magento 2 : Composer runs out of memory

I am trying to install instamojo payment gateway to my magento2 store, as per the instructions givne by instamojo page https://docs.instamojo.com/page/instamojo-integeration-for-magento-2 i tried the ...
1
vote
1answer
32 views

When is the setup folder created by Magento?

Can I gitignore it in a composer based installation? I tried deleting vendor/ and composer install, but the setup folder was not newly created. EDIT It is not happening on each composer install - ...
0
votes
1answer
37 views

Customer_Eav db schema version is not properly set

I am using Magento 2.2.5 and getting this error. 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please update your modules: Run "composer install" from the Magento ...
0
votes
1answer
41 views

Magento2 composer update throws exception

When I am running composer update I am faced with the error like: $ ./composer update X-Powered-By: PHP/7.0.31 Content-type: text/html; charset=UTF-8 Warning: Composer should be invoked via the CLI ...
0
votes
0answers
24 views

Magento 2 - Web Upgrade Fails on Component Dependency Checks

I have a Magento 2 site on version 2.1.8 and I am attempting to upgrade to 2.2.5 with the Web Setup Wizard. When I run the readiness check, it fails on Component Dependency. My composer.json file ...
2
votes
2answers
162 views

Magento 2.2.3 upgrade to 2.2.4 giving error

I'm trying to upgrade my magento 2.2.3 to 2.2.4 through putty: php70 composer require magento/product-community-edition 2.2.4 --no-update php70 composer/composer.phar update and after this I try: ...
4
votes
2answers
61 views

What is Composer and how to use it?

After having had some problems while trying to upgrade Magento 2, or when installing new modules, I often find the suggestion of "using Composer" to do it. However, as a designer (not really a ...
0
votes
1answer
213 views

error after “composer update”

First time I installed a module via ssh, and I accidentally make "composer update". Now my site has this error: 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please ...