You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application with a huge codebase which uses nwidart/laravel-modules package for modules. I installed verbs too, but as it has a dependency of internachi/modular it somehow throws weird error on my application.
Not exactly sure where the conflicts between those two packages are, but I found out that both the packages uses the same bootstrap/cache/modules.php file to cache the modules and both expect different data structure. The exception I encounter is Undefined array key "name" which after some digging found out that since module.php file is present (created by nwidart/laravel-modules), internachi/modular is also looking for the cache with array key name.
My question is, do we really require internachi/modular as a dependency for verbs to work?
How to reproduce the bug
Install verbs alongside nwidart/laravel-modules
Create and enable modules
Make your application throw an error from the module.
Package Version
0.6.4
PHP Version
8.3
Laravel Version
11.34.2
Which operating systems does with happen with?
Windows, Linux
Notes
No response
The text was updated successfully, but these errors were encountered:
What happened?
I have an application with a huge codebase which uses
nwidart/laravel-modules
package for modules. I installed verbs too, but as it has a dependency ofinternachi/modular
it somehow throws weird error on my application.Not exactly sure where the conflicts between those two packages are, but I found out that both the packages uses the same
bootstrap/cache/modules.php
file to cache the modules and both expect different data structure. The exception I encounter isUndefined array key "name"
which after some digging found out that sincemodule.php
file is present (created bynwidart/laravel-modules
),internachi/modular
is also looking for the cache with array keyname
.My question is, do we really require
internachi/modular
as a dependency for verbs to work?How to reproduce the bug
nwidart/laravel-modules
Package Version
0.6.4
PHP Version
8.3
Laravel Version
11.34.2
Which operating systems does with happen with?
Windows, Linux
Notes
No response
The text was updated successfully, but these errors were encountered: