a PHP application library dependency manager.

learn more… | top users | synonyms

0
votes
0answers
27 views

How can I include a third party library in my custom module without using Composer Manager

I'm trying to create a custom Twitter Pull module in Drupal 8. I would like to include https://github.com/abraham/twitteroauth. I can't seem to get it working adding it via composer in the root ...
2
votes
2answers
51 views

How do I install dependencies for commerce using the Composer manager module

I installed the composer manager module and enabled it. I have tried initializing it from using drush in the command line and failed using the command drush composer-manager-init. I am confused on ...
0
votes
0answers
17 views

Problems with composer manager on windows

I'm trying to use the dev version of openlayers which requires composer mananger. I can successfully install the module, and the module creates a json file with my packages inside my ...
3
votes
1answer
24 views

What is the difference between drupal/drupal and drupal-composer/drupal-project packages?

I want to use composer with my future Drupal projects. I installed Composer on my machine and I noticed two packages (drupal/drupal and drupal-composer/drupal-project). When I install the second ...
5
votes
1answer
81 views

How do I update Drupal core on composer install? [duplicate]

I installed (or downloaded) drupal 8 via: composer create-project drupal/drupal my_site_name 8.0.* Which, at the time I ran it, downloaded Drupal 8.0.1. Now drupal 8.0.2 is available and I'd like ...
6
votes
1answer
108 views

Is there a good reason to prefer one method of installing over another?

Starting to play around with drupal 8. My first method of installing was installing drush8 (as mentioned in https://www.drupal.org/documentation/install/download): Get drush8: composer require ...
3
votes
1answer
51 views

How to add JavaScript or CSS library to Composer project?

For some cases, there is the need to add a JavaScript or CSS package to a project. One of those cases was the DropzoneJS package for the drupal/entity_browser. All recommendations I could read online ...
4
votes
1answer
80 views

Where should I download libraries for modules through composer?

I've started to use Drupal 8 and some modules requires some libraries. For example search api solr. When I'm installing these libraries via composer it downloads the libraries into directory of the ...
1
vote
0answers
81 views

Drupal 8: composer, git and update core and modules

I started working with Drupal 8 and try to find out the best way for developing and administrating projects. As Drupal 8 with all its dependencies is very big (more than 60 MB) I like the suggestion ...
0
votes
1answer
51 views

How to use composer for module dependency?

I installed Drupal 8, and for the Panel module I had to install the Page manager, the Layout, and the Chaos tool suite modules, manually. Can we use composer to install modules with there ...
0
votes
2answers
101 views

Unable to use Composer (for Drush) on Bluehost - install problem

I apparently successfully installed Composer (for use with Drush) on bluehost. See messages below. It does not work, however. When I type composer.phar I get nothing or "command not found" among other ...
0
votes
0answers
67 views

Install Drush error on bluehost

I am following instructions at https://www.drupal.org/node/2366283 to install Drush at bluehost.com using PuTTY. I'm stuck at the install composer step. I tried the curl -sS ...
0
votes
1answer
50 views

How to use composer for installation profile?

I have a Drupal 8 installation profile with custom modules and themes and I am wondering how should I use composer so that I can run it and drupal core and other dependencies(like contrib modules) ...
6
votes
2answers
230 views

What is the correct composer based core update workflow?

I want to use composer to manage Drupal 8 dependencies, but I'm not sure what is the right core update workflow. At the moment I'm using drush to update core to latest beta release, but I also have ...
0
votes
1answer
44 views

Drush not installing correctly

I'm attempting to install Drush on a new system OSX 10.10.4. The process is no longer the simple one it used to be :( I've complied with the requirement to install via Composer (that was not small ...
0
votes
2answers
143 views

How to check if library is present in vendor folder?

I have a form in which I am providing some options to users. But I want the options to appear in the form on the basis of presence of 3rd party libraries in vendor directory. I want something like ...
1
vote
1answer
333 views

D7, AmazonS3, composer_manager and awssdk libraries understanding

I have been struggling with the installation of amazonS3. Although I was finally able to have it working pretty well, I would like to confirm with experts my understanding of the problem, and check ...
1
vote
1answer
764 views

How to install drush 8 properly on Debian 8?

Finding hundreds of articles and documents about how to install drush and none of it explains where exactly and how properly I got a bit lost. I've got a Debian 8 system with a root user, NGinx and a ...
1
vote
1answer
220 views

How to resolve error “Failed to load MailChimp PHP library. Please refer to the installation requirements.”?

I'm try to set up Mailchimp module but i keep geeting Failed to load MailChimp PHP library. Please refer to the installation requirements. My steps: disable mailchimp module install ...
3
votes
3answers
893 views

Drush - No Drupal Site Found when clearing cache

I installed drush using composer following the instructions here: http://docs.drush.org/en/master/install/ When trying to run drush cc all I get this error: No Drupal site found, only 'drush' ...
4
votes
1answer
52 views

Can composer-dependent PHP libraries be used with the Libraries API?

I'm trying to include a PHP library called Geocod.io in my custom module. I am also trying to use the Libraries API. So far I have: Downloaded geocod.io to sites/all/libraries composer install'ed in ...
0
votes
1answer
153 views

How to include a PHP Framework / Library in my module?

I wanted to include PHPExcel.php in a testing module. So I put this file and the rest of the lib into: sites/all/libraries/phpexcel/ and I used this in my module: function mymod_libraries_info() { ...
6
votes
1answer
1k views

how to install package via composer?

I would like to add library to my drupal 7 custom module. Library can be installed via composer, but i can't find a solution for install? How can i install this library? I have installed "composer ...
3
votes
5answers
2k views

After installing composer: “The drush command X could not be found”

Edit: re-wrote intro paragraph to highlight the installation of composer - I suspect composer may have broken drush. I want to test out elastic search with D7. I used drush to install a fresh D7 ...
2
votes
1answer
101 views

New Drush install instructions use Composer for install, even on Drupal 7?

The current Github install instructions for drush (http://docs.drush.org/en/master/install/#git-clone-ie-manual-install) say as the last step: From Drush root, run Composer to fetch dependencies. ...
6
votes
1answer
4k views

How to uninstall drush via composer?

There is method of installing drush via composer: composer global require drush/drush:dev-master But how to uninstall it using composer?
2
votes
2answers
2k views

How to safely remove drush via pear and then install via composer?

I have drush 5 installed on my VPS running CentOS 6. Drush was installed using PEAR. Can I just remove the drush directory and the simlinks and then install drush 7 using composer? I have been ...
1
vote
2answers
543 views

How to install a specific version of drush? [closed]

How can I install the a specific version of Drush, for example 5.9.0?
1
vote
1answer
1k views

Drush installed globally via composer as root user, but how to access Drush with ordinary user?

By following the instructions on the Drush git page: composer global require drush/drush:6.* I have Drush up and running (it seems to live in /root/.composer/vendor/drush/drush). But I imagine I ...
2
votes
1answer
2k views

Why doesn't composer install drush on $HOME/bin directory?

I'm trying to learn to to use drush. I installed composer to my $HOME/bin/directory: $ ls ~/bin composer composer.phar subl sublime sublime_config.sh sublime_text Then tried to install ...
7
votes
3answers
7k views

Undefined error: 0 OR Unable to load autoload.php. Drush now requires Composer

I've installed drush in /usr/local/lib/drush/drush and composer in /usr/local/bin/composer. When I try to run drush /usr/local/lib/drush/drush I get the following: /usr/local/lib/drush/drush: ...
6
votes
1answer
662 views

How to manage contrib modules composer dependencies on drupal 8

Let's say I have a module exposing a composer.json file, composer manager let me merge it with others modules composer.json. In Drupal 8 composer.json are used from the core, so is it possible to ...
0
votes
0answers
22 views

composor manager stability setting

I am trying to install some packages using composer manager. My installation failed reflecting the following error: Potential causes: - A typo in the package name - The package is not available in ...
7
votes
3answers
843 views

Is it acceptable to modify Drupal's composer.json file?

Drupal adheres to the best-practice of never modifying core. Drupal 8 has a composer.json file built into core, if you need to add a third-party library, should you modify composer.json, or is there ...
0
votes
2answers
722 views

How do I compile Mustache.php to use with the Template Field module?

The Template Field module requires the Mastache Template Rendering Library. The Mustache Template Rendering Library can be found here. It must be installed at libraries/mustache/Mustache.php. ...
9
votes
1answer
675 views

How can I install composer packages with drush make?

How does one include composer package in a drush make file? The more general answer, the better. There's already a composer drush module allowing drush dl to handle composer packages, but that ...