Skip to content

Use .gitattributes to control Composer package exports #12

@Neluxx

Description

@Neluxx

Add support for Git’s .gitattributes export-ignore directive to control which files are included when the package is distributed via Composer.

This allows us to exclude repository-only files (e.g. tests, CI configs, docs, tooling) from distribution archives and keep the package leaner.

Tasks

  • Review the repository structure and identify files/directories to exclude.
  • Add or update .gitattributes with export-ignore rules.
  • Verify that Composer package archives contain only the required runtime files.

References

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions