Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
5
votes
M2.4 Exception throwing while executing composer require: Higher matching version 2.3.x of x...
If the offending package comes from Packagist, this worked for me
"repositories": {
"packagist.org": {
"type": "composer",
"url": "https://packagist.org",
"exclude": ["package-vendor …
0
votes
curl error 56 during composer install
Colleague of Daniel here
After upgrading to Ubuntu 22.04 we cannot reproduce the problem anymore (with a fresh/empty COMPOSER_HOME)
COMPOSER_HOME=/tmp/test/composer-home php8.1 `which composer` install …
1
vote
0
answers
29
views
Validate composer requirements from modules in app/code
Is there a way to validate the version constraints from modules in app/code during updates?
2
votes
1
answer
2k
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 - at least not on every run.
In a fresh project I deleted setup & vendor and called composer install -> setup is created. …
5
votes
1
answer
1k
views
How to composer-require Magento2 develop branch?
Is there a way to composer-install the latest development branch of Magento 2? … So I manually create app/etc before composer.phar install. composer install now succeeds but the pub/ folder is missing... Might be the wrong approach. …
1
vote
1
answer
444
views
"Unable to find deploy strategy for module: no known mapping" / when Snowdog SASS theme / or...
"url": "https://repo.magento.com/"
},
{
"type": "vcs",
"url": "https://github.com/iMi-digital/magento2-theme-blank-sass.git"
}
],
I am getting
$ composer update
Loading composer … install
composer require snowdog/theme-blank-sass=dev-master …
2
votes
3
answers
2k
views
In Magento2 RC, does every module and theme need to be pulled via composer?
But those files do not end up in vendor/composer/autoload_files.php after composer.phar dumpautoload - so the modules are not registered. … How can I make my code in app/code and app/design known to Magento and/or composer to load the registration.php ? …
11
votes
4
answers
5k
views
How to Git-Ignore Symlinks on a Magento Module installed by composer
I install modules using composer.phar.
This creates symlinks files in publichtml/app/code/community (for example) with a target to vendor/themodule....
In my .gitignore I excluded the vendor direct …
18
votes
4
answers
4k
views
Install Magento Base with Composer
(as described in http://magebase.com/magento-tutorials/composer-with-magento/)
Is it possible also to install the basic Magento package (for example CE 1.7.0.2) using Composer? …
3
votes
In Magento2 RC, does every module and theme need to be pulled via composer?
registration.php files of non-composer packages are handled by the file
app/etc/NonComposerComponentRegistration.php
This is included here: https://github.com/magento/magento2/blob/22629abe10f9c640fe47b6081d57fedccdea8e0f …
2
votes
How to Git-Ignore Symlinks on a Magento Module installed by composer
Nowadays there is an option for this in the composer installer. … Just set extra.auto-add-files-to-gitignore https://github.com/magento-hackathon/magento-composer-installer/blob/master/README.md#auto-add-files-to-gitignore …
15
votes
Accepted
Integrating composer's autoloader into Magento
The Magento autoloader is registered in Mage.php.
If want to do this in a own module, you should grab the first event possible and require the autoloader there
According to Alan's analysis this wou …
4
votes
1
answer
530
views
Reinstall an existing Module using Composer (in Git)
I have a module already installed in the tree and want to replace it by installation via composer.
The magento hackathon composer installed is used. …
3
votes
Accepted
Reinstall an existing Module using Composer (in Git)
the symlinks to the .gitignore
push your changes to the git repository
When the co-developers do an update, in the first step git will delete the old module and then install the new module (after composer …