From 6e288999515c1b77f95173770094fb31ffdff949 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Fri, 27 Mar 2026 09:50:19 +0100 Subject: [PATCH] Add .gitattributes to minimize dist size As recommended by composer: https://getcomposer.org/doc/02-libraries.md#light-weight-distribution-packages --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8822720 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +*.php text diff=php +*.phpt text diff=php + +# Exclude non-essential files from dist to minimize package size. +/.github/ export-ignore +/bin/ export-ignore +/example/ export-ignore +/tests/ export-ignore +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/readme.md export-ignore