douxiandiyo58855 2017-09-14 09:02
浏览 60
已采纳

CodeIgniter中这些文件的用途是什么?

I have been working with CodeIgniter since 2 years. But I have no idea about following highlighted files.

  1. What are them?
  2. What happens if I remove them?

Screenshot of Windows explorer with the files .editorconfig, .gitignore, composer.json and contributing.md

  • 写回答

2条回答 默认 最新

  • doutuohan6606 2017-09-14 09:13
    关注
    1. .editorconfig -> here's the website. It's a configuration file to keep settings / code styles for certain IDE's.

    2. .gitignore is a file used by git version control system which tell it which files should be IGNORED by git.

    3. composer.json is a file used by Composer dependency manager (for PHP libraries), and that file lists library dependencies, versions, required php extensions and their versions which are needed for the code to run properly.

    4. contributing.md isn't a special file, it's just a markdown-formatted file that contains instructions left there by the author. You can see that StackOverflow, Github and many other popular programming-related websites use markdown and display it as nicely formatted HTML after parsing.

    5. You should really know what GIT and Composer are, so I suggest checking out the links I posted and implementing a bit of google-fu to get up to speed with current tech!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?