I am creating an app that uses some components of Symfony2 along with React, Webpack and Sass. We will mostly code in PHP, with the other things adding functionality to our app. I'm having a hard time figuring out how to make my folder structure.
Please note that I don't want to make an app entirely dependent on Symfony, but an app that uses only parts of it.
Inspiration taken from Symfony, Html5 Boilerplate, and Ryan Florence.
root
├── app
│ ├── console
│ ├── cache
│ ├── config
│ ├── logs
│ └── Resources
│ └── views (Twig files)
│ └── sass
├── src
│ └── AppBundle
├── vendor (Composer dependencies)
│ └── phpUnit
├── components (Bower dependencies)
│ └── Foundation
└── web
├── css
│ ├── main.css
│ └── normalize.css
├── doc
├── img
├── js
│ ├── config
│ │ └── routes.js
│ ├── screens
│ │ └── App
│ │ ├── components
│ │ ├── screens
│ │ │ ├── Admin
│ │ │ │ ├── components
│ │ │ │ ├── screens
│ │ │ │ │ ├── Reports
│ │ │ │ │ │ ├── components
│ │ │ │ │ │ ├── stores
│ │ │ │ │ │ │ └── ReportsStore.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ └── Users
│ │ │ │ │ ├── components
│ │ │ │ │ └── index.js
│ │ │ │ ├── shared
│ │ │ │ │ └── stores
│ │ │ │ │ ├── AccountStore.js
│ │ │ │ │ └── UserStore.js
│ │ │ │ └── index.js
│ │ ├── shared
│ │ │ └── components
│ │ │ ├── Avatar.js
│ │ │ └── Icon.js
│ │ └── index.js
│ └── shared
│ └── util
│ └── createStore.js
├── index.js
├── .editorconfig
├── .htaccess
├── 404.html
├── apple-touch-icon.png
├── browserconfig.xml
├── index.html
├── humans.txt
├── robots.txt
├── crossdomain.xml
├── favicon.ico
├── tile-wide.png
└── tile.png