DEV Community


Discussion on: What is all that stuff in this frontend repo?

tnolte profile image
Tim Nolte

Just to provide you with some documentation points for your post. The vendor directory is a Composer convention.

The src directory is an Object Oriented Programming convention, especially found in Java projects, but also comes from the build tools used. Maven is the predominant build tool for Java projects and begins with the src directory.

Similar to the src directory the test directory is also an OOP and Java/Maven convention. However, since the move of PHP projects to Unit Testing the commonly used convention is tests. Generally, these are dependent on the build tools used.

justusromijn profile image
Justus Romijn Author

Very good additions! I only have little experience with the Java and PHP ecosystems, so thanks for pointing me to those conventions. Will update the post with this.