The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
1answer
106 views

Install sample data using Composer - Command prompt hangs when asked for password

I'm trying to install Magento2 using composer but when i'm prompted to add my private key the command prompt hangs, not letting me enter my private key.
1
vote
0answers
402 views

Composer autoload doesn't work

This is a follow up question from this question. I want to override a Zend class using composer autoload. It used to work, but not anymore. This is content of my composer.json file: { "name": "...
1
vote
1answer
54 views

Download depended package after installing module

I am developing QrCode Extension in Magento2 which is depended [bacon-qr-code] library so I need to download [bacon-qr-code] library using composer.In Magento2 in root composer.json if I add the "...
1
vote
5answers
1k views

Magento 2 - No Theme after installation

I had "magento 2" installed with composer. the installation is running correctly. Now, when I look at the backend or the frontend no Theme appears. What could be wrong? I have also tried it with the ...
1
vote
1answer
811 views

Magento 2 .gitignore template in combination with Deploybot and Git workflow

I installed Magento 2 using composer locally (on my local Dev environment using MAMP). I added my custom theme and did all my frontend work on my local Dev site. I want my code and changes to be ...
1
vote
1answer
48 views

Howto install Magento2 Testframework as dev requirement

until now, I developed my Magento2 Modules in the app/code directory of a running magento2 instance. This is pretty easy and you can run your tests without having much to think about. after reading ...
1
vote
0answers
120 views

Magento 2 composer update with sample data removes uploaded images?

After running a composer update from 2.0.0 to 2.0.1 on a Magento 2 store that was set up with sample data, any images that were uploaded via an import to pub/media/import and assigned in pub/media/...
1
vote
0answers
194 views

Capistrano & Magento - Previewing new deploy and manually update symlink

I am using a Capistrano deployment workflow for a Magento project. On deploy Capistrano builds this Magento project on the server using https://github.com/Cotya/magento-composer-installer. The issue ...
1
vote
1answer
76 views

magento 2.2 composer checking pubkeys fail

when i run a composer diagnose i get some errors, first of al i have to update my current composer version. But more of my concern is the FAIL on pubkeys. Wich keys are this? The magento ...
0
votes
2answers
2k views

Magento 2 composer “module-wishlist” error

I'm trying to update my magento version to 2.2 (from 2.1.7) but had a "Content Dependency" error, but have narrowed down the issue a module, the "module-wishlist-sample-data" magento module. When I ...
0
votes
1answer
357 views

why is Magento 2 semantic versioning at 100?

I am using Composer to install Magento 2 and I've noticed that all packages are starting with 100. According to semantic versioning rules, Magento 2 packages should be at version 2.x.x something. ...
0
votes
1answer
2k views

Magento 2: Adding Sample Data to an Already Installed System

Is it possible to add the sample data to an already running Magento 2 system? Or is this only possible at install time? If I run php bin/magento sampledata:deploy This will add the sample data ...
0
votes
2answers
3k views

Magento2 Installation: Composer PHP version errors on Windows

I tried to install Magento2 on Windows which runs PHP 5.5.19 and MySQL 5.6.X versions (from xampp package) through Composer, but I received the following errors after running composer install (please ...
0
votes
3answers
1k 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
1answer
382 views

Upgrade magento2 to latest version via composer

I installed Magento2 via composer, following this guide. Now I see version 2.1.6 is available and I'd like to upgrade. Please confirm if these commands will do the trick or what I'm missing in case ...
0
votes
1answer
739 views

Magento 2: Composer Update is Not Working [Failed to open stream: Connection timed out]

I'm trying to update composer but it gives below error. root@magento-2:/var/www/html/magento# composer clear-cache root@magento-2:/var/www/html/magento# composer diagnose Do not run Composer as root/...
0
votes
2answers
2k views

Magento 2 Autoload error after moving site on live domain

I set up my site on my test server and after moving it to my live domain, its giving me Autoload error Vendor autoload is not found. Please run 'composer install' under application root directory. ...
0
votes
1answer
428 views

Magento 2 setup comporser error?

Today I create newsite magento2 MAGETWO-40129: M2 GitHub Update (version 1.0.0-beta. When i install composer get ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260) how do fix it. ...
0
votes
1answer
3k views

Install Magento 2 with MAMP [closed]

I have MAMP & MAMP PRO. I tried to install Magento 2 beta. When i write "composer install" the system returns me this error: Your requirements could not be resolved to an installable set of ...
0
votes
1answer
483 views

how to upgrade from magento 2.3.0 to 2.3.1 steps (composer) [duplicate]

I want to upgrade my magento to the latest version. what are the steps to upgrade from Magento 2.3.0 to Magento 2.3.1 via composer?
0
votes
1answer
616 views

Magento 2.2.4 Composer Patch Failed: “1 out of 1 hunk ignored”

Applying patch to v2.2.4 for Github issue 14968, but I keep getting hunk fails error. After looking Looking here: SUPEE-9767 - Hunk #1 FAILED at 225. 1 out of 1 hunk FAILED I believe the problem is ...
0
votes
1answer
70 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. ...
0
votes
1answer
47 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? ...
0
votes
1answer
104 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
4answers
358 views

How to update safely Magento 2.0.4 to Magento 2.2.2?

I want to update from Magento 2.0.4 to latest version. I want to know commands, and which folders are going to modify in the update process. all I want command line based update process. Note: I ...
0
votes
1answer
413 views

Magento 2 Module Install With Composer going to Vendor Folder,How to install on Server

I have installed third party module with composer and we are managing code with Git.Since Module is installed with composer so it is going to Magento Vendor Folder.In git we are ignoring Vendor Folder....
0
votes
1answer
3k views

Autoload Error: Module has been already defined

This error shows up when I do the following: DL and paste this extension under DIR>vendor>magento-japan folder m2-jplocalize Run the following command: composer config repositories....
0
votes
1answer
201 views

Error when upgrading from CE 2.1.2 to 2.1.4 via Composer

Composer version is 1.4.1 I ran composer require magento/project-community-edition 2.1.4 --no-update and then composer update Error message returned: Your requirements could not be resolved to an ...
0
votes
2answers
1k views

How to add one file with classes third party library in to Magento 2?

I have a single PHP file with some classes as a library. For example: <?php class addShipment { public $packages; // przesylkaType public $id; // int } class addShipmentResponse { ...
0
votes
1answer
4k views

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

I tried to install magestead using the command composer global require "richdynamix/magestead" and got the following output: PHP Warning: Module 'Phar' already loaded in Unknown on line 0 Changed ...
0
votes
2answers
373 views

Magento2 composer module:uninstall: Does it make sense and why does it take so long?

We want to streamline a magento installation managed via composer. So, for example we have no need for Magento_SendFriend module, nor Magento_Review, and maybe other not essential / small modules. ...
0
votes
2answers
333 views

Magento2: Composer installation error

I'm trying to install composer on my Ubuntu 12.04 LTS machine, for Magento2 installation but the following error occurs: Some settings on your machine make Composer unable to work properly. Make sure ...
0
votes
4answers
33 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 ?
0
votes
3answers
54 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
31 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
39 views

Magento 2 - Upgrade Path

I just wanted to find out if the there is a upgrade path to follow when upgrading a Magento 2 store via composer? Example: if I want to upgrade my magento 2 store from v2.0.18 open source to v2.3.1 ...
0
votes
2answers
93 views

Upgrade Magento vendor module(dependency|library) to a newer version

Magento uses multiple "external" dependencies|libraries for example one of them is dotmailer-magento2-extension. This specific module is at version 3.1.1 as it can be seen here vendor/dotmailer/...
0
votes
2answers
65 views

extension not remove via composer

i have disable extension after i can remove extension via composer like this way php bin/magento module:disable <ExtensionProvider_ExtensionName> --clear-static-content php bin/magento setup:...
0
votes
2answers
237 views

M2 - Uninstall language pack

I installed a language pack using composer. $ composer require mageplaza/magento-2-german-language-pack:dev-master $ php bin/magento cache:flush Now when I try to uninstall again, using this command:...
0
votes
1answer
49 views

including dependency in magento

I was trying to publish one extension to magento marketplace Things are a fork of tinypng and I can see the dependency of tinypng module is automatically pulled by composer, but where they are ...
0
votes
2answers
342 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
93 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
90 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 ...
0
votes
2answers
333 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
2answers
249 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
2answers
43 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
131 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
4answers
2k 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 ...
0
votes
1answer
386 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 ...
0
votes
2answers
279 views

Magento composer The system cannot find the path specified. (code: 3)

I am executing composer install but getting below error # composer install Loading composer repositories with package information The following exception may be caused by a stale entry in your cmd....