Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Composer

By editor , 23 November, 2021

Apply a patch with composer

Tags

  • Drupal 8
  • Code
  • Composer

Step 1 : Add the package cweagans/composer-patches
composer require cweagans/composer-patches

By editor , 3 November, 2021

Add Zip package to drupal using composer (Example : CKEditor colorbutton as drupal-library)

Tags

  • Drupal 8
  • Drupal 9
  • Composer

Add following packages to composer.json file next to drupal repository

By editor , 1 October, 2017

Composer - Problems and Errors

Tags

  • Drupal 8
  • Composer
  • Error

 

By editor , 9 June, 2017

Download and Install drupal 8/9 - Composer

Tags

  • Drupal 8
  • Server
  • Composer
  • Drupal 9

Requirements:

1. A web server (Apache or another web server)
2. Database (Mysql, MariaDB or SQLite)
3. PHP (Minimum 5.5.9)

By editor , 3 January, 2017

Manage custom package using composer.

Tags

  • Drupal 8
  • Code
  • Composer

Composer can hadle CVS (git, svn ...) and ZIP packages.
To install/Update your custom modules, add a custom repository to the composer.json file, following this example.

1. Add package repositories
Here, youtubeapi and sadb

By editor , 3 January, 2017

Create a Drupal 9 Project using composer.

Tags

  • Drupal 8
  • Code
  • Composer

Using recommended-project template

 

composer create-project drupal/recommended-project my-project

For more information, see : https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates

 

By editor , 16 July, 2016

Install and Update Composer

Tags

  • Server
  • Composer
  • Linux

Install Composer

wget https://getcomposer.org/installer
 php installer
 unlink installer
sudo mv composer.phar /usr/local/bin/composer.phar
alias composer='/usr/local/bin/composer.phar'

By editor , 27 November, 2015

Get composer instalation path

Tags

  • Composer
  • Shell
Composer

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer