Allow component namespaces to be autoloaded independently

Created on 11 February 2018, almost 7 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

We're still following through on #1826054: [Meta] Expose Drupal Components outside of Drupal โ†’

And we need to be able to test our components independent of Drupal core.

As a very small first step, we need to allow each component to specify it's PSR-4 autoload and autoload-dev sections per composer.json file.

We want each component to define its own namespace.

Since we're merging all of the components' composer.json files during composer install time, their autoload and autoload-dev sections can be used to generate the PSR-4 mappings for each individual component.

We don't actually need to move source files into src/ directories.

Proposed resolution

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Composerย  โ†’

Last updated 15 days ago

No maintainer
Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mile23 Seattle, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024