Ignore a number of files when using composer with --prefer-dist
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..c77437b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,20 @@
+# This file tells which files and folders should be ignored and
+# NOT downloaded when using composer to pull down a project with
+# the --prefer-dist option selected. Used to remove development
+# specific files so user has a clean download.
+
+# git files
+.gitattributes export-ignore
+# .gitignore
+
+# helper config files
+.travis.yml export-ignore
+phpdoc.dist.xml export-ignore
+
+# Misc other files
+readme.rst
+
+# They don't want all of our tests...
+tests/codeigniter/ export-ignore
+tests/travis/ export-ignore
+