drupal9

How to add a git repository to a composer.json file in Drupal 9

  1. Fork a Github module like https://github.com/protitude/module_markdown and change the composer.json like
@@ -1,5 +1,5 @@
{
-  "name": "protitude/markdown",
+  "name": "asanchez75/markdown",
  "description": "Allows content to be submitted using Markdown, a simple plain-text syntax that is transformed into valid HTML.",
  "type": "drupal-module",
  "homepage": "https://www.drupal.org/project/markdown",
  1. in the composer.json file of your Drupal 9 installation add
Tags