Laravel Modules

nwidart/laravel-modules image

Laravel Modules stats

Downloads
6M
Stars
4,994
Open Issues
7
Forks
908

View on GitHub →

Laravel Module management

Laravel-Modules Summary

The nwidart/laravel-modules is a robust Laravel package designed to enhance application modularity, allowing developers to manage their projects through independent modules similar to individual Laravel packages. This approach is particularly useful for maintaining large applications, encapsulating features such as views, controllers, and models within discrete modules.

Key Features

  • Modular Management: Organize a large Laravel application into manageable modules.
  • Autoloading Support: Utilizes PSR-4 autoloading for managing module classes.
  • Test-Driven: Includes tests, adding reliability over its predecessor pingpong/modules.
  • Ease of Installation: Easy to install via Composer and integrates automatically with Laravel's service provider.

Installation and Usage

Install the package via Composer:

composer require nwidart/laravel-modules

To publish the configuration file, run:

php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"

For autoloading modules, add the following to your composer.json and execute composer dump-autoload:

{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}

Documentation and Support

Full documentation is available at Laravel Modules Documentation. This package is maintained by Nicolas Widart and supported by other community contributors.

For more details about using and configuring modules, visit the official documentation page. This package supports various Laravel versions from 5.4 up to the latest release, ensuring compatibility and ease of integration across multiple Laravel projects.

nWidart photo

Freelance developer & consultant. Laravel specialist. Spring fan. React and Vue user. Open-source advocate. New technologies geek. Apple fan. @AsgardCms creator

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Nwidart Laravel Modules Related Articles

Generate Complete Application Modules with a Single Command using Laravel TurboMaker image

Generate Complete Application Modules with a Single Command using Laravel TurboMaker

Read article
Craft CMS is moving to Laravel image

Craft CMS is moving to Laravel

Read article
The Laravel Idea Plugin is Now FREE for PhpStorm Users image

The Laravel Idea Plugin is Now FREE for PhpStorm Users

Read article
AI-Driven Development Insiders Launch: 500 Seats. 24 Hours. 50% Off image

AI-Driven Development Insiders Launch: 500 Seats. 24 Hours. 50% Off

Read article
Generate a Detailed Application Report with Laravel Decomposer image

Generate a Detailed Application Report with Laravel Decomposer

Read article
Aureus ERP image

Aureus ERP

Read article
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
DreamzTech logo

DreamzTech

Hire 6-10+ Yrs. experienced skilled Laravel Developers from DreamzTech. We ensure NDA protected, 100% quality delivery. Contact Us & Discuss Your Need.

DreamzTech