V
V
Vasyl Fomin2019-05-01 15:31:54
Laravel
Vasyl Fomin, 2019-05-01 15:31:54

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)?
kDdSxqk.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2019-05-01
@fomvasss

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 question

Ask a Question

731 491 924 answers to any question