Questions tagged [laravel-modules]
23 questions
1
vote
0 answers
Laravel modules v7 (nWidart)
Whenever I create a module via the php artisan command: php artisan module:make [Name] ,
the trans() function that was functioning before breaks I have already searched where the break happens but I can't find it also can't find what is exactly…

Iets Iets
- 47
- 6
1
vote
1 answer
my livewire app is returning 404 not found when I selected a dropdown item
I am designing a laravel app, which I used module and livewire. I have a dropdown item which when I selected an item its returned an error 404 NOT FOUND
Here is my livewire component.
I am thinking may the wire:model="selectedSession" and…

Ibrahim Adam
- 15
- 4
1
vote
2 answers
How to filter by latest status in Laravel using laravel-model-status package?
CURRENT SYSTEM:
I am using Laravel and the Spatie package laravel-model-status.
NEED:
Here is a formal description of what I am looking for:
Get a list of users whose latest status in set S is the status T.
Basically, I am looking for an Eloquent…

Biagio Arobba
- 1,075
- 11
- 27
1
vote
1 answer
Calling dynamic content with blade (Livewire)
I am using laravel-modules in a project. I also added laravel-modules-livewire to the project, and I am using it to call dynamic content in my dashboard to allow configuration of each module. The way I designed it, each module will have a…

Tales
- 1,829
- 3
- 33
- 50
1
vote
0 answers
Deleting or export a full module in Laravel
Let's say that we made a complete app module in Laravel:
php artisan make:model Post -a
Is there any way to delete or export this module and install it into another Laravel framework?

Faraz salehi
- 328
- 2
- 17
0
votes
1 answer
Dynamic Menu Management for Laravel Modules Using NWIDART
I'm working on a Laravel application where I'm utilizing the NWIDART module to split various functions into modules. Currently, I have a predefined approach in my core code to check if a module exists and is enabled, then display a menu based on the…

Rupesh
- 11
- 3
0
votes
1 answer
nwidart/laravel-modules not finding modules on Windows WSL but works fine on OSX
Here's the issues
The environment is a fresh install of Laravel using Sail. The project is using modules and everything works pretty much as advertised for us on OSX. There are several modules created that are working perfectly.
When developers try…

bstory
- 852
- 9
- 28
0
votes
0 answers
Remove module_statuses.json file from Laravel Modules and always enable all modules
I'm using a Laravel Modules package (https://nwidart.com/laravel-modules/v6/introduction) to manage Laravel applications in different Modules. It resolves a lot of manual handling of modules.
There is an option to enable and disable modules. The…

Engineer Saud
- 11
- 2
0
votes
1 answer
Laravel Modules dynamic activation by config
I just recently started working with Laravel 10.
I'm using nwidart/laravel-modules v10 for creating modules in my new project.
Since the project is going to be an SaaS product, I am also using stancl/tenancy for multiple tenants.
I have a config…

kennethenglisch
- 23
- 8
0
votes
3 answers
Laravel 9 nwidart/laravel-modules issue Console\ShowModelCommand not found
after I've tried to update all the dependencies of our laravel installation (which started from 5.8) all the way to laravel 9 I'm recently having issues when doing the composer update with the nwidart/laravel-modules.
The error I'm getting is the…

Joey
- 19
- 3
0
votes
0 answers
Laravel : mcamara/laravel-localization and nwidart/laravel-modules problem
I will explain my problem with visuals now, but I will write it first. I am using mcamara/laravel-localization and nwidart/laravel-modules packages. And each module has its own json file in it, the nwidart/laravel-modules file alone works and I…

Lütfullah Öztürk
- 1
- 2
0
votes
0 answers
My laravel-livewire is returning 404 not found
I am designing web application in laravel which I used livewire in a module, but when ever I perform any action in my livewire blade component example wire:click="action" its returns 404 NOT FOUND
My config/modules-livewire.php
'custom_modules' =>…

Ibrahim Adam
- 15
- 4
0
votes
1 answer
How to install custom version of Laravel Modules
I want to install this package called Laravel Modules and because my Laravel version is v8, I need to install the version 8 of Laravel Modules as well.
By default the command line for doing that is this:
composer require nwidart/laravel-module
So…

japose7523
- 29
- 2
- 15
0
votes
1 answer
Service provider not loaded for one module (Laravel Modules)
I ran into a weird problem. I'm using Nwidart Laravel Modules package. I have got many modules and everything works as expected: service providers register routes for each module etc. But suddenly, I lost contact with one module - all my endpoints…

Daniel
- 2,621
- 2
- 18
- 34
0
votes
0 answers
Sharing lang files between modules in Laravel modules
Is it possible to share lang files between two modules in nWidart/laravel-modules? I have a job that uses langs from module 1. Now I want to dispatch this job through module2 (and 2nd app_domain). I get an error.
No hint path defined for…