Questions tagged [composer]

Use it for questions about the PHP application library dependency manager (Composer).

Filter by
Sorted by
Tagged with
5 votes
1 answer
8k 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 ...
KlineAl's user avatar
  • 83
2 votes
1 answer
3k 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 I tried to install drush ...
Noe Nieto's user avatar
  • 123
7 votes
3 answers
9k 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: line ...
radishred's user avatar
7 votes
1 answer
2k 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 ...
B2F's user avatar
  • 937
0 votes
0 answers
40 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 ...
chaithanya's user avatar
8 votes
3 answers
2k 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 ...
David Barratt's user avatar
0 votes
2 answers
1k 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. ...
Adam S's user avatar
  • 5,031
9 votes
1 answer
852 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 ...
Letharion's user avatar
  • 27.5k

1
9 10 11 12
13