nwidart / nwidart-docs Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://nwidart.com
License: MIT License
Home Page: https://nwidart.com
License: MIT License
Hi,
it's supposed to add to EventServiceProvider.php
, the events created in modules folder? Is this the best way?
Thanks.
Best regards,
Marcelo
Is there any method for this feature?
not work observer
public function boot()
{
User::observe(UserObserver::class);
}
https://nwidart.com/laravel-modules/v6/introduction
The docs website only have v1 to v6, but this repo have up to v9.
i want to group modules further, for example i want to create sub folder inside main Module directory then create modules inside that directory e.g Modules/Core/Base, Modules/Core/Setting etc. but whenever i run command php artisan module:make Core/Base it throw an error Nwidart\Modules\Exceptions\ModuleNotFoundException : Module [Core/Base] does not exist!
how i can group nested modules. Thanks!
Hi nicolas,
Before i use your module and i use this commande to activ or not a module in my web site
module.json
{
"name": "Article",
"alias": "article",
"description": "Administration des articles",
"keywords": [],
"active": 1,
"order": 0,
"providers": [
"Modules\\Article\\Providers\\ArticleServiceProvider"
],
"aliases": [],
"files": [],
"requires": []
}
@foreach ($modules as $module)
<tr>
<td>{{ $module->getname() }}</td>
<td>{{ $module->getdescription()}}</td>
<td>
@if($module->getname() != "Admin" )
<form method="post" action="{{route('admin_etat_module')}}">
<input type="hidden" name="modulename" value="{{$module->getname()}}"/>
<input type="checkbox"
name="etat" @if($module->active) checked @endif
data-size="xs"
class="submit"
data-style="slow "
/>
{{csrf_field()}}
</form>
@endif
</td>
</tr>
@endforeach
But in a new version i have this error
Undefined property: Nwidart\Modules\Laravel\Module::$active (View: E:\01-www\a2imv2\Modules\Admin\Resources\views\module.blade.php)
How i can make it for enable or disable module for my all user?
thanks for your help!
While I do not really know laravel well enough to add this myself, I wanted to see if there was still a plan to add latavel 7 blade components.
https://laracasts.com/series/whats-new-in-laravel-7/episodes/1
can not create multiple model in laravel 8
I am using this package with laravel 6, And I am facing the issue, laravel is not able to find the class, while the class exist, there, Please help me figure out and resolve the issue, I also added the following code in the app.php providers array.
Modules\ModuleName\Providers\DmirServiceProvider::class,
Modules\ModuleName\Providers\RouteServiceProvider::class,
Hello.
I'm checking out the docs in Safari on MacOS High Sierra and the code examples gets a rendered with a quite unreadable font color.
Here's what it looks like in Safari:
And here's what it looks like in Firefox:
It seems like Safari is completely ignoring the rules when I inspect the elements too.
#damnYouSafari
I've been exploring nwidart-docs and have identified a couple of areas that could enhance the management of modules.
Versioning with getVersion()
module.json
.module.json
and introduce a getVersion()
function to facilitate easier tracking of module versions.Simplified Install/Uninstall Process
Modules::install('modulepath.zip')
, where modulepath
could be a URL or a local path, to simplify the installation process.Looking forward to the possibility of contributing to the nWidart project.
Hi, thanks for all your great libraries. I am planning on using this in the latest laravel 6 version. Any plans on upgrading this for 6?
Hello!
I am having a problem when I try to install some module automatically through composer.json using "joshbrw/laravel-module-installer".
The repository is deprived of Bitbucket, usually downloaded, but the "Modules/" folder is added as "Modules/" again instead of adding the real name of the module (eg ApiModule), ie this "Modules/Modules/", should be "Modules/ApiModule/". If you can help.
Here are the codes:
No composer.json (root):
"Require": {
....
"Nwidart / laravel-modules": "^ 1.19",
"Joshbrw / laravel-module-installer": "v0.1.2",
"Xxxxx / api-module": "*",
....
},
"Repositories": [
{
"Type": "package",
"Package": {
"Name": "xxxxx / api-module",
"Version": "0.0.1",
"Type": "laravel-module",
"Source": {
"Url": "[email protected]: xxxxx / api-module.git",
"Type": "git",
"Reference": "origin / master"
}
}
}
],
In the composer.json (from the module):
"Type": "laravel-module",
What am I doing wrong?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.