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
3
votes
2answers
133 views

Where Does Magento use Composer's `type` Attribute — Is this Required?

In my experiments with Magento 2 composer packages, I've been able to get a package up and running without using composer's type attribute. However, this class file #File: vendor/magento/framework/...
11
votes
4answers
4k 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 ...
9
votes
2answers
509 views

Magento 2: Minimum Composer File

I've seen a few things floating around the impermanent internet (i.e. Twitter) that some recent changes to Magento 2 make it possible to install a module into the vendor directory via composer, and ...
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/...
3
votes
3answers
17k views

Magento 2 Composer Error

trying to have a go at magento 2, I have the latest PHP. Error message: Vendor autoload is not found. Please run 'composer install' under application root directory Where do you install composer, ...
18
votes
4answers
4k views

Install Magento Base with Composer

I know there are nice ways to install Magento Modules (from Connect) and from GitHub (if composer.json is provided). (as described in http://magebase.com/magento-tutorials/composer-with-magento/) Is ...
1
vote
1answer
498 views

Multiple magento-2 modules in single git repository

I am trying to host my magento 2 extensions in a bitbucket repository. each extension will be a branch of that repository. The problem is that, we need to create tag for particular version of the ...
0
votes
1answer
66 views

Composer issues while upgrading Magento 2.0rc to 2.0

I have installed Magento 2.0 rc in AWS and tried to update my composer.json to update it to Magento 2.0. Ran the command sudo composer config composer.json but received an red box with the error ...
17
votes
1answer
4k views

Magento 2 Enterprise: Create New Module in vendor directory

I tried to create new module in vendor directory in Magento Enterprise 2.0.0. The module could not be loaded after I ran the Magento setup:upgrade. If I move my files to the app/code directory, the ...
3
votes
1answer
877 views

Magento 2 - discrepancy between documentation and theme files structure on github

I am creating a new theme and would like to start by duplicating the default blank theme and then modify it to become my new theme. When I checked the frontend developer guides, it indicated the ...
0
votes
1answer
53 views

Installing Magento 2.0 with Composer

I have generated a private key on my Magento account. But composer will only let me enter the username (public key) and won't allow me enter the password (private key). Why is this?
2
votes
2answers
4k views

Magento2 install sample data after - I get invalid credentials [duplicate]

I run composer update from root and I get: Loading composer repositories with package information Authentication required (repo.magento.com): I enter my credentials that I use to login here: ...
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 ...
1
vote
0answers
197 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 ...
4
votes
2answers
122 views

Marshalling in Magento2

According to Magento2 Doc By default, when you install a package, Composer puts it into vendor/<package> directory, such as vendor/magento-module-catalog. However, the Magento framework requires ...
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. ...
3
votes
1answer
131 views

Would I always need Composer or just with Magento 2 beta?

I want to start with Magento 2. Unfortunately my VPS is running php 5.4 so i have to request an upgrade first, but when that is done, would i need composer always to install Magento 2 or is it just ...
13
votes
1answer
4k views

Magento 2 uninstall module

Apparently, now Magento 2 supports uninstall scripts that allow db schema modification when uninstalling a module (horay!!). As explained in here this only works for module installed via composer. (I ...
3
votes
1answer
182 views

Define own directory name for Magento composer extension

My Magento environment is structured as following: composer.json which includes "aoepeople/composer-installers": "*" and a list of Magento modules that deploy the code into my .modman directory. ...
2
votes
1answer
86 views

Composer exception: Package is already installed

After update to new release version Magento Hackathon faced with exception while running composer update: Package: "some_package_name" is already installed. This happened only with this release. ...
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 ...
14
votes
3answers
1k views

Composer installed Ecomdev_PhpUnit skips tests due to missing vfsstream

I'm working with an Enterprise Edition 1.13.1 install (although Community Edition would have the same issue), and we're installing dependencies via composer where they're available. I've installed ...
16
votes
3answers
1k views

What is http://packages.magento.com/?

On various social medias I've seen the URL http://packages.magento.com/ bandied about. This appears to be a composer repository (using satis software to host the repository). What's not clear is ...
-1
votes
1answer
992 views
1
vote
2answers
995 views

Install magento via Puppet or Composer?

There are several modern ways to install Magento: Magento as Puppet Module: cmuench/Magento-Vagrant-Puppet-Nginx or bippo/puppet-magento Magento as Composer Dependency - so you create composer.json ...
1
vote
2answers
499 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 ...
4
votes
2answers
158 views

What happens when you run Magento on an empty database?

If you drop all the tables in your Magento database, and navigate to your Magento site, what happens next? The reason I ask is I assume that Magento would just check the local.xml settings, and ...
4
votes
1answer
450 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. Also all symlinks created by the installer are ...