Answer the question
In order to leave comments, you need to log in
Experience with nWidart/laravel-modules for Laravel. Is it worth using?
Hello! I would like to learn about the development of a modular structure of a web application (I work on laravel).
For this approach, I found the package nWidart/laravel-modules , which defines the directory structure, adds artisan commands, ...
Maybe someone already has experience in this matter and does it work in practice (or just in theory in the picture)?
Answer the question
In order to leave comments, you need to log in
I wrote a custom structure very similar to this one. In terms of proper modularity - forget it, modules are NOT reusable. In terms of ease of use and scheduling, this is awesome.
From the point of view of real use, this is often a pain, since 99% of the packages written to the lark are completely tuned to the default architecture and, at best, make it possible to manually configure directories.
Would I use the modular architecture again in a Laravel project - yes, absolutely. But definitely not like the laravel-modules package.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question