Directory Structure
i'm looking at different github projects trying to figure out what the best directory structure is going to be. Looking at the demo project (https://github.com/filamentphp/demo), most everything lives inside the App/Filament directory, but there's another directory for Forms and then within that there's a Components directory. What's the rationale behind that? Is Forms/Components for custom components you build while the main Filament folder is for more standard stuff?
3 Replies
Forms can have more indepth seperation to allow the re-use of the form schema etc. Mainly everything stays in Filament unless you are planning on re-using features then you can split them out into a custom directory.
ok that makes sense, thank you!
Most welcome!