Skip to main content
Back to packages
6,142 GitHub stars

nWidart/laravel-modules

View on GitHub

Description

Package to manage your large Laravel app using modules. Module is like a Laravel package, it has same views, controllers or models.

nwidart/laravel-modules is a laravel package which created to manage your large laravel app using modules. Module is like a laravel package, it has some views, controllers or models.

Quick Example

Generate your first module using php artisan module:make Blog. The following structure will be generated.

app/
bootstrap/
vendor/
Modules/
├── Blog/
├── Assets/
├── Config/
├── Console/
├── Database/
├── Migrations/
├── Seeders/
├── Entities/
├── Http/
├── Controllers/
├── Middleware/
├── Requests/
├── routes.php
├── Providers/
├── BlogServiceProvider.php
├── Resources/
├── lang/
├── views/
├── Repositories/
├── Tests/
├── composer.json
├── module.json
├── start.php

Related Content on Laravel Daily

Video
Video

Recent Courses on Laravel Daily

Roles and Permissions in Laravel 13

14 lessons
57 min

Laravel 13 Eloquent: Expert Level

41 lessons
1 h 34 min

How to Build Laravel 13 API From Scratch

30 lessons
1 h 23 min

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.