Create PHP.gitignore #3258
Create PHP.gitignore #3258
Conversation
|
@vinnyfs89 thanks for opening this PR. The rules here feel like they are covered by the
|
Definition of PHP most used Frameworks, ORMs and tools. References: - #3258 (comment)
|
@shiftkey Thanks for reply. I agree with the questions asked. Despite having identical files to those already in Composer.gitignore, this is currently a minimal framework for PHP projects or modules that most current frameworks already use. Initially the purpose of this template is to make it possible to create a PHP repository that ignores minimally what is most common in most PHP applications, which are files linked to the PHP dependency manager (Composer) and .env environment variables. but I understand what you said and using Python.gitignore template as a reference, i added most of the files that are generated by PHP most used Frameworks, ORMs and Environment Variables. Please check that you are now in agreement. |
|
.env is required by Symfony and shouldn't be ignored |


Reasons for making this change:
Creates a starter template for PHP applications.
Links to documentation supporting these rule changes:
Link to project’s homepage: https://www.php.net