Update composer.json structure to align with current Drupal contrib standards.

Changes include:
- Add autoload-dev for PSR-4 test autoloading
- Add config.allow-plugins for Composer 2.2+ compatibility
- Add development scripts (phpcs, phpstan, check, fix)
- Update require-dev with modern quality tools
- Remove installer-paths and repositories (belong in root composer.json only)
- Improve metadata structure and ordering

Comments

sergio morais created an issue. See original summary.

  • sergio morais committed 00874813 on 1.1.x
    Issue #3559454: Update composer.json to follow Drupal contrib best...
sergio morais’s picture

Status: Active » Fixed

Issue #3559454: Update composer.json to follow Drupal contrib best practices

- Add autoload-dev for PSR-4 test autoloading
- Add config.allow-plugins for Composer 2.2+ compatibility
- Add development scripts (phpcs, phpstan, check, fix)
- Update require-dev with modern quality tools (coder, phpstan, phpstan-drupal)
- Remove installer-paths and repositories (belong in root composer.json only)
- Improve metadata structure and field ordering
- Add keywords for better package discovery

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergio morais’s picture

Status: Fixed » Closed (fixed)