composer

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ReViJa's picture

Como trabajar con Composer

Hola a todos, estoy con un VPS con Plesk Obsidian 18.0.24 y he visto que al añadir un dominio por defecto aparece PHP Composer.
Quería preguntaros si se puede hacer una instalación desde ahí de drupal 8 y como sería.

Estoy interesado en empezar a trabajar con Composer pero voy perdido.

Me podéis dar una ayudita.

Muchas gracias chicos/as.

Read more
kuronecozizi's picture

自分のWebsiteにアクセスしても、Drupal8.5.4の設定画面が出てこない

お世話になっております。

今回、”さくらのクラウド”に最新バージョンのDrupal8.5.4を導入しようとしています。
個人的には、Nginxの設定に誤りがあるためだ、と考えておりますが、様々なサイトを回ってみても、原因の特定ができませんでした。
Nginx,MariaDB, PHPはyumでインストールしましたし、DrupalはComposerでサーバー内に展開しましたので、所有権や権限の設定は自動で行われていると考えております。

上記の私見で誤りがあれば、ご指摘・ご教授いただけますと、大変勉強になりますので、どうぞよろしくお願いいたします。

【構成】
さくらのクラウド
CPU:1core
Memory:1GB
SSD:20GB

OS:CentOS 7.5(64bit)
DB:MariaDB 10.2.8
PHP:PHP7.2 / PHP7.2-fpm
Server:Nginx 1.15.0

Composer 1.6.5
Drupal8.5.4はComposerにより配置済み

怪しいと考えている【Nginxのコンフィグファイル】3点のコードを記します。

●/etc/nginx/nginx.conf

user nginx;
master_process off; ## ADD!

Read more
vickey's picture

Apply Drupal 8 Patch by Composer without update Drupal Core

Use the below procedure to apply the patch for composer based Drupal 8 website without updating the core version.

FYI, There was high critical security vulnerability issue fix :
https://www.drupal.org/sa-core-2018-002
https://groups.drupal.org/security/faq-2018-002

Please make sure "cweagans/composer-patches" plugin added in your composer.json and lock file or else use below command to add them.
composer require cweagans/composer-patches

Steps to update the patch.

Read more
grone2013's picture

Drupal 8.5 composer

Saludos compañeros y de antemano gracias.

Cuando instalo Drupal con composer este debería instalar la version estable y actual: 8.5. El asunto es que me instala la versión alpha de la rama 8.5. ¿alguna razón para eso?

Gracias

Read more
Anonymous's picture

The Drupal-Install Borg-Cube: "We seek peaceful coexistence ..."

... of Composer & Drush, anyway.

Composer may be the NewDrupalWay(tm), but Drush is still indispensible for much workflow. Working with both is a necessity.

So what's a Drone to do?

Here's a scenario from a (intended to be) Composer-only install. The how-to was cobbled together from the 1000-or-so blog posts, etc that keep telling us to "Get off the island" ... If anyone cares to share a/the "Definitive Current Composer HowTo for Drupal8", please pipe in!

(1) Install Drupal

  composer create-project --keep-vcs drupal/drupal d8 8.0.3
  cd d8
Read more
timmillwood's picture

[PR effort] Contrib maintainers should add composer.json

Over in the webmasters queue I have started a discussion around a PR effort to get contrib module maintainers to add composer.json files to their modules.

Please join in and spread the word.

https://www.drupal.org/node/2547385

Read more
generalredneck's picture

Project name and Module name not matching up problem in composer

I don't expect a lot of feedback, however, I thought that I would post this here, so that it gets more visibility.

I've turned this into a blog post over here.

Literally, I wanted to convey that, if you are having problems with a specific module is required that has a package with a different name. For example in this error:

Problem 1
    - drupal/api 7.1.9 requires drupal/gplib >=7.2.1, <7.3.0 -> no matching package found.
Read more
tstoeckler's picture

Update on Drupal 8 core and Composer

After weeks of back and forth the Drupal 8 core's composer.json file has now been moved to the core directory to facilitate fetching only the contents of the core directory via Composer.

The relevant issue is https://www.drupal.org/node/1975220. A big shoutout to everyone who moved that issue forward, most notably dawidwbaratt, daffie, bojanz and alexpott.

Read more
derhasi's picture

Custom composer installer for Drupal projects

I'd like to share some thoughts on composer installers that we can use for supporting setting up a Drupal project with composer. I'd like to know about your assumptions and how we may be able to build common installer, that we can use maybe as a standard in the future.

Read more
omissis's picture

Drupal Continuous Integration Tools

Hi guys!
I wanted to share something I published today: http://drupalignite.com.
Basically it's a tool and a set of practices to setup a Drupal environment under a full Continuous Integration cycle using some well-known tools as drush, phing, composer and jenkins for the build phase, phpunit and behat for the testing and features and migrate for keeping everything (structure and data) in a code driven development shape.
I published the introduction, the following chapters will be published in the next months!
You can find the code on github: https://github.com/omissis/drupal-ignite

Read more
Subscribe with RSS Syndicate content