search

Home  >  Q&A  >  body text

Is it unscientific for the tp project to upload Thinkphp source files to github?

Thinkphp目录结构
App/
ThinkPHP/ // 这个就是Thinkphp的源码,所以这个是不是没有必要上传到github上面呢?
index.php

First of all, the ThinkPHP directory source file is about 4M. Whether it is submitted or downloaded is very laborious...
So let’s think about this ThinkPHP directoryIsn’t it actually necessary to submit it?
But if I don’t submit the ThinkPHP directory source file, the only ones I clone will be app目录 and index.php文件, which are obviously unusable. It can only be used unless you go to the official website to download ThinkPHP源文件(目录) and put it in the clone project.
So what is the best way? To submit or not to submit?

过去多啦不再A梦过去多啦不再A梦2836 days ago802

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-02 09:39:33

    In fact, I personally do not recommend uploading the thinkphp source code. You can write the dependent thinkphp version in the readme. Of course, you can also write a script, just like node_module in nodejs is not uploaded

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:39:33

    Is there anything that cannot be submitted?
    I am using a Laravelfull-stack framework. Except for the vendor directory, which is for composer, the other files add up to more than 20M. Isn’t this the same push?
    Compared to Laravel’s 20M or more, what does your ThinkPHP’s 4M count?
    The Laravel projects on github are all like this.

    reply
    0
  • Cancelreply