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
2
votes
0answers
83 views

Magento 2: Unable to upgrade Magento 2.1.3 [duplicate]

I'm trying to upgrade from Magento 2.1.2 to 2.1.3 on my Linux Server. On my Local WAMP it's working fine. I'm upgrading in Developer Mode. I got below error. root@magento-2:/var/www/html/magento# ...
2
votes
1answer
1k views

Interface 'Zend\Stdlib\JsonSerializable' not found [closed]

I'm trying to learn e-commerce solution development and because magento has huge community all around the globe as well as it's scalability with extensions and all other I planned working on Magento.I ...
2
votes
5answers
4k views

Magento Installation Error - Magento 2

I have uploaded Magento2 source code on centos Rackspace server, and I have changed credentials whenever required, but when I run my website, I get an error like "Vendor autoload is not found. Please ...
2
votes
1answer
662 views

Magento 2 deployment from Dev to Staging using Git

I have a local Dev environment and installed Magento 2 using composer I initialized the local /magneto2/ folder as a Git repo I added this .gitignore file to the root of my /magneto2/ folder I have a ...
2
votes
0answers
1k views

Installing Data-Migration-Tool with Composer: git not found error

when I try to install the Data-Migration-Tool with Composer: composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool composer require magento/data-...
1
vote
3answers
18k views

Install extension using composer Magento 2

I'm using magento 2 , and I'm trying to install an extension from composer.json file , now I've installed composer through SSH , but I'm new to composer installations , how do I proceed now with the ...
1
vote
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 ...
1
vote
2answers
2k views

Magento 2 override core Model class with psr-4 by replacing in app/code/Magento

"autoload": { "psr-4": { "Magento\\Framework\\": "lib/internal/Magento/Framework/", "Magento\\Setup\\": "setup/src/Magento/Setup/", "Magento\\": "app/code/...
1
vote
4answers
766 views

Problems with friendsofphp/php-cs-fixer and php7.3

Hello to all users of the forum, I need help. I upgraded from version 2.3.2-p2 to 2.3.4 and after that the error is occurring: composer update Do not run Composer as root/super user! See https://...
1
vote
1answer
470 views

Magento 2: Composer update / install is no longer copying magento2-base structure

I've got this strange problem I ran into only since recently. Usually, when I got a new or existing project and I run composer install or composer update, composer will automatically copy (map) the ...
1
vote
2answers
320 views

Im trying to install Magento via composer can't insert password

composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition Authentication required (repo.magento.com): Username: d89125c*********************** ...
1
vote
2answers
504 views

Loading Mage.php from within Symfony2

What's the best way to load the Mage.php (Magento) class within Symfony2. I've read documentation and and tried different autoloader and classloader configurations but the only thing works for me is ...
1
vote
2answers
66 views

Magento 2, How to make users to install the plugin via composer

In my module, I have created a composer.json file with this code and pushed it to git { "name": "lovat/magento2-api", "description": "Lovat Api Sales Module ...
1
vote
1answer
193 views

Upgrading from v2.3.0 to 2.3.4

I need to upgrade a Magento instance from v2.3.0 to v2.3.5 later this month. I'm wondering if I need to upgrade to v2.3.1 and run setup:upgrade first, and then repeat for v2.3.2, v2.3.3, v2.3.4 ...
1
vote
2answers
478 views

Magento 2 : How can you install a Magento2 quickly to last version with sample data with composer

How can you install a Magento 2 quickly to last version with sample data with composer Can you install a Magento2 last version with sample data with composer?
1
vote
1answer
245 views

Magento 2 : How quickly can you install with composer a Magento2 last version without sample data [closed]

How quickly can you install with composer a Magento2 last version without sample data
1
vote
2answers
804 views

Magento 2 composer.json require field

I built an extension for Magento 2 and now I want to package it using the following guide: http://devdocs.magento.com/guides/v2.0/extension-dev-guide/package/package_module.html There is a sample ...
1
vote
5answers
13k views

magento: command not found on Magento2 Already Installed through wizard

Was getting lots of issues installing, so installed Magento2 via Softaculous Installer in CPanel. Installed successfully and site & admin is accessible. NOW, however, wanting to do things via CLI ...
1
vote
1answer
617 views

Magento2 custom module downloaded by composer at two places

I have hosted my custom module on bitbucket, and using satis proxy between comopser and bitbucket. The problem is, when i use the command composer require vendor/module, it downloads the module at two ...
1
vote
2answers
100 views

Magento 2.4 installation using composer MagentoHackathon/Composer/Magento/Plugin.php failed to open stream: No such file or directory), rolling back

I am trying to install Magento2.4 Open source on the following setup. VirtualBox 6.1 on Windows 10 Nginx server Ubuntu 20.4 installed on the Virtualbox Php 7.3.20 Command used: composer create-...
1
vote
1answer
315 views

Update composer zendframework packages to laminas

On composer outdated I found several lines similar to this Package zendframework/zend-view is abandoned, you should avoid using it. Use laminas/laminas-view instead. How can I switch from ...
1
vote
1answer
69 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
151 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/" ...
1
vote
1answer
752 views

Cron not working and Cron log showing Fatal error: Allowed memory size of 33554432 bytes exhausted

I have getting this error in magento 2. Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 28672 bytes) in /home/www/public_html/website.com/vendor/composer/composer/...
1
vote
3answers
2k 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 ...
1
vote
4answers
5k 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
2answers
806 views

Magento 2.2.5: Error on cron:run after every production deployment

Since we upgraded Magento to 2.2.5, after every deployment to production (which includes git pull..., composer update & all other relevant Magento CLI commands for production deployment), our ...
1
vote
2answers
2k views

Can't upgrade Magento 2.2.4 to 2.2.5

I am trying to upgrade Magento 2.2.4 to 2.2.5 with composer. php bin/magento maintenance:enable php composer.phar require magento/product-community-edition 2.2.5 --no-update php composer.phar update ...
1
vote
1answer
1k views

Magento 2 Cannot create cache directory

I'm running composer update command, but it's showing error, that says : Cannot create cache directory /home/111111.cloudwaysapps.com/esdasrdss/.composer/cache/repo/https---repo.magento.com/, ...
1
vote
1answer
78 views

Magento 2, DI & Composer

I would like to know if all dependency injections used in a module have to be declared in the "module dependencies". And, in this case, as "soft" dependencies (in module.xml file), as "hard" ...
1
vote
2answers
2k views

Unable to upgrade to Magento 2.1.0 GA via command line

I've already applied the patch MDVA-532. When I run composer update magento/magento-composer-installer I got this error: Your requirements could not be resolved to an installable set of packages....
1
vote
1answer
60 views

Magento 2.4 error when try to install sample data

I've installed Magento 2.4 (fresh) with the Composer. Installation work fine (frontend and admin) But when try to install demo data using manual get an error. $ magento deploy:mode:show ...
1
vote
2answers
206 views

Magento 2: How to install not enabled packages

when I try to run 'composer install' into my folder /web I got this problem triggered, can anyone tell me how to install all of this extensions, please? Problem 1 - Installation request for ...
1
vote
2answers
238 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 ...
1
vote
3answers
1k 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 ...
1
vote
2answers
373 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 ...
1
vote
2answers
185 views

Magento 2: How to upgrade Magneto version 2.2.1 to 2.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
329 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 ...
1
vote
2answers
70 views

is it possible to add Magento 2 keys after the installation

I installed Magento 2 without using composer, because I encountered issues and the hosting company helped me with the installation and did not use composer. Is it possible to add my private and ...
1
vote
1answer
44 views

How to make my module available in github (via composer.json) in magento 2

I wish to make my module available in github repository and then i wish to install it to my local using composer.json. How is this possible? Please provide me a solution, to install my module using ...
1
vote
2answers
803 views

Magento 2.3 composer install issue

I am tring to install to get vendor files in magento 2.3 instance using composer.But i am getting following log: dealsouq@dcwsrv2401:~/public_html$ composer install Loading composer ...
1
vote
1answer
999 views

Issues while upgrade to Magento 2.3

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

Ignore platform requirements for sample data installation using Composer

I have a module installed via Composer where the latest master version requires PHP 7.0.x, while the updated version I'm using allows PHP 7.1.x which I have installed. This causes a problem that on ...
1
vote
2answers
2k views

Can't install module using composer on Magento 2.1

I am trying to install M2ePro module on my Magento ver. 2.1.8 application using composer and getting this error: [http]$ php-7.0 /usr/local/bin/composer require m2e/ebay-amazon-magento2 Could not ...
1
vote
2answers
38 views

Magento2 Module installable through composer

We are in the middle of the process to submit an extension to the Magento Marketplace. We have one question about composer installation. Right now, we test our module copying files by hand, is it ...
1
vote
2answers
55 views

Using composer with Magento2

I installed Magento2 without composer. I would like to install a few extensions and another language but all tutorials I have seen use composer. Is it possible to "add" composer when Magento is ...
1
vote
2answers
1k views

How to include files inside pub, lib folder to composer?

I am a developer myself and I built extension for Magento 2. So far it is only zip package file. User just unzip the file, uploads it to ftp and then runs php bin/magento setup:upgrade. Now I need to ...
1
vote
2answers
2k views

Magento 2 not able to login to admin pane;

I just installed a plugin via composer. Note the site and admin panel worked just fine prior and the customer facing sie of the site seems to work fine. After the plugin install I then re-compiled via ...
1
vote
1answer
159 views

Magento 2: How to install modules that are not on the marketplace without breaking the setup interface?

I have this issue when I go to the "Web Setup Wizard" & try to install extensions that I just bought from the marketplace & it gets stuck because there are some modules that have been ...
1
vote
1answer
891 views

Trying to upgrade from 2.1.6 to 2.1.7 and getting a composer error

I am trying to upgrade from Magento 2.1.6 to 2.1.7 using this https://stackoverflow.com/documentation/magento2/9022/upgrading-magento#t=201704130958117574309 as my guide. I type in- composer require ...

1
3 4
5
6 7
12