plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: Support for nested "simple directory modules"

Open eclipse313 opened this issue 2 years ago • 0 comments

Feature Description

For my projects, I use a DDD structure modelled on "Beyond CRUD" (see https://stitcher.io/blog/laravel-beyond-crud-01-domain-oriented-laravel). This all works very well up to the following point.

Normally, my folder structure is as follows:

app -> domains ----> Billing ---------> Actions ---------> Enums ---------> Events ---------> Http ---------> Models

However, I also have more complex projects where I further subdivide within a domain. This looks like this, for example:

app -> Domains ----> Billing ---------> PaymentGateway ------------> Actions ------------> Enums ------------> Events ------------> Http ------------> Models ---------> InvoiceSystem ------------> Actions ------------> Enums ------------> Events ------------> Http ------------> Models

However, if I now want to create a Json Resource via Code Generation Popup, for example, only the upper modules are displayed (e.g. Billing).

But I would need a selection (as soon as there are subfolders that do not correspond to the normal Laravel structure (i.e. not Actions, Modules, Http, ...) that these are included in the dropdown (see https://share.cleanshot.com/MKcNyMzW).

For me, the list should also include a:

  • Billing/PaymentGateway
  • Billing/InvoiceSystem

should be listed and not only

  • Billing

eclipse313 avatar Sep 12 '23 09:09 eclipse313