Is it unscientific for the tp project to upload Thinkphp source files to github?
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:37:33
0
2
793
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梦

reply all(2)
迷茫

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

给我你的怀抱

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template