The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
21 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
98 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 ...
2
votes
1answer
179 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
72 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. ...
1
vote
1answer
808 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
459 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
231 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
0answers
368 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 ...
0
votes
0answers
115 views

How can I tell if I have Drush 7 on windows?

I followed the instructions for installed Composer and drush 7, which I found on https://github.com/drush-ops/drush#install---composer. I installed Composer and I was able to run: composer -V and ...
2
votes
1answer
969 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
2answers
4k 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
468 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
18 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
626 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
555 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
587 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 ...