1. 28 10月, 2017 1 次提交
  2. 30 11月, 2015 1 次提交
    • J
      Incorrect Dir Path · 5bb4e853
      Julien Liabeuf 提交于
      When generating the ignore rules for Composer, an incorrect format is used. The vendor directory added is written `vendor/`, which causes other `vendors` directories to be ignored. The correct format to use is `/vendor/`, which would only ignore the root `vendor` directory.
      5bb4e853
  3. 24 4月, 2014 1 次提交
  4. 09 11月, 2013 1 次提交
    • H
      Add Composer.gitignore for composer packages · 3932f1f0
      Haralan Dobrev 提交于
      Libraries/Projects using [Composer](http://getcomposer.org) for dependency management should include a `.gitignore` file like this.
      
      It ignores the vendor folder which Composer uses for dependencies, classmaps and others. Composer keeps git repositories in this folder so it is cleaner if it is ignored.
      
      [`composer.lock` should not be ignored.](http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file)
      
      > Commit your application's composer.lock (along with composer.json) into version control.
      
      > For your library you may commit the composer.lock file if you want to. This can help your team to always test against the same dependency versions. However, this lock file will not have any effect on other projects that depend on it. It only has an effect on the main project.
      3932f1f0