a PHP application library dependency manager.

learn more… | top users | synonyms

1
vote
1answer
28 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 ...
0
votes
1answer
37 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
0answers
32 views

MailChimp API Installation

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 ...
1
vote
2answers
69 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
35 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
57 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() { ...
5
votes
1answer
234 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
2answers
425 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
83 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. ...
4
votes
1answer
2k 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?
1
vote
2answers
823 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
314 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
478 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
1k 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 ...
4
votes
3answers
5k 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
512 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
20 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 ...
6
votes
3answers
688 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
605 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
624 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 ...