a PHP application library dependency manager.

learn more… | top users | synonyms

1
vote
0answers
13 views

Why does the “drush status” command result in “Permission denied”?

I installed Drush via global Composer, and it seems that it should have installed correctly. However, when I executed drush status in terminal, it resulted in Permission denied. Why is this happening ...
0
votes
1answer
35 views

Can't update via composer because of lock file

I am trying to install Lightning 8.1.0. I am currently at 8.1.00-rc5. When I run composer require drupal/lightning:8.1.0 I get the following response: ± |master ✓| → composer require drupal/lightning:...
0
votes
0answers
28 views

How to update Drupal 8.1+ core with composer?

Ok, admittedly I'm a composer novice. So, in my previous site, I used composer manager to update Drupal's core. That was pretty straight forward to use (just run "composer drupal-update"). However, ...
8
votes
1answer
91 views

Managing module library dependencies with composer since Drupal 8.1

I've found Dependencies in a custom module with drupal-composer, How can I include a third party library in my custom module without using Composer Manager and How to manage contrib modules composer ...
0
votes
1answer
31 views

Requiring a package doesn't find a dependency

When running HOME=/home/gymsagec composer require "drupal/commerce 8.2.x-dev", I get this error message: drupal/commerce 8.2.x-dev requires commerceguys/intl dev-master -> no matching package ...
0
votes
0answers
88 views

Unable to upgrade from Drush 5.10.0 to Drush 8

I try to upgrade from drush 5.10.0 to 8 by using the following command: sudo composer global require drush/drush:~8 And it returns: Changed current directory to /home/lupiyardo/.composer Running ...
1
vote
1answer
17 views

Freshly installed Drush is unresponsive

I'm on an Amazon Linux machine. I ran: $ composer global require drush/drush Changed current directory to /home/ec2-user/.composer Using version ^8.1 for drush/drush ./composer.json has been updated ...
1
vote
1answer
67 views

Installing drush for use with Drupal 8

I have now found two instances where it seems I will finally need to learn how to install and use drush for my new drupal 8 site. I've been avoiding drush the last 5 years working with drupal 7 ...
0
votes
0answers
14 views

Strategy on running drupal-update

What kind of strategies do people use with regards to updating and then testing the composer managed dependencies? I have recently upgraded core and at that point updated all dependencies using ...
1
vote
0answers
31 views

How to upgrade to 8.1.0 using composer? [duplicate]

I used composer create-project drupal-composer/drupal-project and have happily been using composer install composer require and composer update to keep my development system up-to-date and moving it ...
1
vote
2answers
19 views

Force Drush8 to Download Drupal 8 Module on a Remote D7

Anyone happen to know, how to force download d8 module to remote d7? I tried doing the following and still letting me to choose 7s. $ drush @remote.dev dl --default-major=8 composer There are no ...
1
vote
1answer
324 views

How to update 8.0.x to 8.1.x with composer?

This is excerpt from my composer.json file (trimmed for readability). It was created by running composer create-project drupal/drupal my_site_name 8.0.* as described on drupal.org: { "name": "...
1
vote
1answer
51 views

Dependencies in a custom module with drupal-composer

I have a problem with dependencies in my custom module. I'm using drupal-composer (https://github.com/drupal-composer/drupal-project) and I'm able to install my own module with the composer.json. My ...
1
vote
1answer
25 views

How to update Twig - does it need to be updated?

Does Twig will be updated automatically? Or does an updated version comes with a new Drupal 8.x release? Or does Drupal just stuck on the current version? I'm just wondering because Twig will be ...
0
votes
1answer
36 views

Use Composer to manage sub-theme Bootstrap LESS dependencies when using LESS starterkit

In Drupal 8 let's say I want to use a Bootstrap subtheme and the LESS starterkit described here: http://drupal-bootstrap.org/api/bootstrap/starterkits!less!README.md/group/subtheme_less/8 The ...
-1
votes
1answer
254 views

Drush and Composer installed but I'm getting errors

Trying to use any drush command I get an error saying autoload.php won't load. It's in the vendor folder which is in the web root where I'm pretty sure it's supposed to be. It also has chmod +x ...
1
vote
1answer
49 views

composer-install of Drupal8 creates a tmp####/ folder. How to manage & clean it?

I'm working with Drupal, with v8, using Composer to install & manage it. I create a new Drupal8 project using the 'drupal-composer/drupal-project' template, composer create-project --keep-vcs --...
0
votes
1answer
223 views

Error during “composer drupal-update” for Drupal 8.0.5

I've been running a Drupal 8 site since 8.0.0, using the Address module. As this required some CommerceGuys dependencies in the /vendor folder, I've been using the following commands to load ...
1
vote
1answer
37 views

composer place git repo to a custom path

How to place git repo to a custom path? I am using composer/Installer. and I have develop a module on git repo. I would like to add it to composer.json but after pull it should be placed web/modules/...
1
vote
1answer
48 views

How do you exclude 'drush' & 'drupal console' requirements from a drupal-composer/drupal-project install?

When I create a Drupal project with composer create-project --keep-vcs drupal-composer/drupal-project:8.x-dev myD8 --stability dev --no-interaction it installs Latest version of drush is installed ...
0
votes
2answers
98 views

How can I force Composer to install a dev branch over a stable release?

I am experimenting with Bootstrap 3 in Drupal 8 and I want to stay on the dev branch of composer. In my composer.json, I wrote the following line based on Drupal Packagist:  "drupal/bootstrap": "8....
0
votes
2answers
66 views

Why doesn't drush check for updates of dev versions of my modules installed by composer?

I am using Drush (8.0.3) on my Drupal 8 site (8.0.3) to check for updates, but Drush is not checking for updates of any modules that I checked out the dev branch for. $ drush @mysite ups --check-...
0
votes
0answers
55 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
290 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
57 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 sites/default/...
3
votes
1answer
33 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 ...
6
votes
1answer
365 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 ...
7
votes
1answer
118 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
255 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
120 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 ...
2
votes
0answers
224 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 ...
2
votes
2answers
89 views

How to use composer for module dependency?

I installed Drupal 8, and for the Panels module, I had to install the following other modules manually: Page Manager Layout Chaos tools suite Can we use composer to install modules with their ...
0
votes
2answers
264 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
132 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 https://getcomposer.org/...
1
vote
1answer
160 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) ...
7
votes
2answers
813 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
47 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
3answers
285 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
486 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 ...
2
votes
1answer
1k 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
511 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
4answers
2k views

Drush - No Drupal Site Found when clearing cache [duplicate]

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
55 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 ...
1
vote
1answer
206 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
2k 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
108 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. ...
7
votes
1answer
6k 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?
5
votes
2answers
3k 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 ...
2
votes
2answers
675 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?