How to exclude composer symlinked directories Disable File | Settings | Languages & Frameworks | PHP | Composer | Add packages as libraries New line on the end of each file Settings/Preferences | Editor | General -> Ensure line feed at file end on Save).