Questions tagged [composer]
Use it for questions about the PHP application library dependency manager (Composer).
608
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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 ...