Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Creating a GitHub Project

Which gitignore do I select for PHP?

Which gitignore do I select for PHP?

1 Answer

Hi Haben,

Based off this article I found online (Link: https://www.codementor.io/tips/1196438172/recommended-gitignore-for-php-web-projects) it is common to use the following:

  • Composer (PHP Dependency Manager)
  • NPM (Node Package Manager)
  • Bower (Front-End Package Manager)