Skip to main content
22 events
when toggle format what by license comment
Sep 20, 2020 at 7:42 comment added Sandburg And which difference between a vendor and a thirdParty directory?
Jun 28, 2018 at 12:54 history protected gnat
Jun 28, 2018 at 11:46 history tweeted twitter.com/StackSoftEng/status/1012301141806407680
Jun 28, 2018 at 11:43 comment added Rob I presume this is Linux, or at least Unix-like systems, where we refer to these as "directories" not "folders" which is a Windows-ism. A folder is not the same thing as a directory which often, and should, contain an index file.
Jun 28, 2018 at 11:33 answer added Chico Carvalho timeline score: 5
Dec 1, 2013 at 12:51 comment added Timo Huovinen You can touch things in /lib/, you can't touch things in /vendor/
Dec 7, 2011 at 12:06 vote accept MattiSG
Dec 7, 2011 at 12:06 answer added MattiSG timeline score: 24
Dec 5, 2011 at 13:16 answer added Wayne Molina timeline score: 10
Dec 5, 2011 at 11:18 history edited MattiSG CC BY-SA 3.0
Added details on Symfony example.
Dec 5, 2011 at 11:11 comment added S.Lott @MattiSG: Please don't comment on your own question. Your comments ("clarifications") should be added to the question. Ideally, you'll rewrite the question to include all the comments. It's hard to integrate all of the comments into one coherent question.
Dec 5, 2011 at 11:10 comment added yannis Unfortunately, in the Symfony example, the vendor folder actually contains the core library in the symfony folder... Well in this case the vendor are the symfony people, and lib is where you should put your libraries...
Dec 5, 2011 at 11:00 answer added yannis timeline score: 73
Dec 5, 2011 at 10:50 history edited MattiSG CC BY-SA 3.0
Added Google Code Search "to back my claims up" (even though people who have this question or have an answer will know about it)
Dec 5, 2011 at 10:46 comment added yannis The Google Code search proving my question isn't totally bogus? Mostly that. It backs your claim that both directories are common. You should always back your claims in questions. btw this isn't for me, I know both directories are common, but no reason not to add the search in the question. as well as explain how some included third-parties can be more essential than others Writing an answer, and that's not exactly what I wrote in the comment there's an OR there...
Dec 5, 2011 at 10:41 comment added MattiSG @YannisRizos What clarifications? The Google Code search proving my question isn't totally bogus? It would actually be helpful if you could detail the “variety of reasons” for which the distinction is important, as well as explain how some included third-parties can be more essential than others — if they are included, there's a reason, unless the maintainers are incompetent and batch-include code.
Dec 5, 2011 at 10:31 history edited yannis CC BY-SA 3.0
edited body
Dec 5, 2011 at 10:30 comment added yannis btw, could you add the clarifications in the comments to the question itself?
Dec 5, 2011 at 10:27 comment added yannis Other than the obvious, that lib holds core libraries (absolutely essential libraries OR libraries built from the same author as the framework) and vendor holds third party libraries, I don't think there's any other sane distinction. That distinction is somewhat important for a variety of reasons, and it makes sense as a generic practice.
Dec 5, 2011 at 10:02 comment added MattiSG @YannisRizos I know it's not in their source. Once you start working on a project and generate modules, though, you'll end up with lib/vendor and other directories along vendor. And they're not the only ones. “everyone can select any dir structure” Yeah well, thanks. Everyone can code however they want. If I want to call src “woudzigouga”, I can. I'm not asking whether I can but why others that are serious and well-known do something that looks like a good practice.
Dec 5, 2011 at 9:23 history edited yannis
edited tags
Dec 5, 2011 at 9:19 history asked MattiSG CC BY-SA 3.0