Use .gitattributes to control Composer package exports · Issue #32 · orca-services/nova-api-php · GitHub
Skip to content

Use .gitattributes to control Composer package exports #32

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

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions