Problem/Motivation

In Drupal 8 it is mandatory to add a module as dependency to the project. This module cannot be installed as a Composer package, because it does not has a composer.json.

Proposed resolution

Add a composer.json

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#2 composer-package.patch406 bytessubhojit777

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

StatusFileSize
new406 bytes
subhojit777’s picture

Status: Active » Needs review
adammalone’s picture

Status: Needs review » Closed (works as designed)

Having a composer.json isn't required for adding this module via composer to a Drupal site. By using the following command in your repository, you will be able to download the module to your codebase:

composer require drupal/fast_404