skeleton-php icon indicating copy to clipboard operation
skeleton-php copied to clipboard

Fix missing files when creating new project

Open ziadoz opened this issue 2 months ago • 0 comments

The readme composer create-project command doesn't appear to include every file I would expect:

Screenshot 2025-10-22 at 10 32 50

I believe the issue is the .gitattributes file has export-ignore declared for the missing files, so along with --prefer-dist, the files aren't exported to the archive.

I changed the command to --prefer-source, and --remove-vcs (to remove .git), and the results are what I expect:

Screenshot 2025-10-22 at 10 32 57

ziadoz avatar Oct 22 '25 09:10 ziadoz