Package

Nwidart Laravel Modules

Laravel Module management

Package

nwidart/laravel-modules

View on GitHub →

Overview

What Nwidart Laravel Modules does

Managing complex Laravel applications can become daunting, but the nwidart/laravel-modules package brings organization by splitting the app into independent modules.

This package enables developers to modularize their Laravel applications, creating distinct functional units within the app's `Modules/` directory. Each module acts like a standalone Laravel package, encapsulating its own service providers, routes, models, views, and more, effectively making organization and maintenance more manageable.

Modules created with nwidart/laravel-modules can be easily controlled with Artisan commands. Developers can generate modules and related classes with commands like `module:make` and `module:make-controller`. This framework not only allows for creating modules but also enables toggling their active status, storing this information via a JSON activator.

Modules are autoloaded using the `wikimedia/composer-merge-plugin`, simplifying the integration process. By using namespaces properly, developers can ensure their application's structure remains clean and efficient, adhering to modern PHP development practices.

This package is particularly beneficial for large-scale Laravel applications or teams looking to keep their codebase organized and maintainable. It offers developers the flexibility to structure their applications according to their needs, ensuring that each piece of functionality is neatly encapsulated in its own module.

This overview was generated by AI from the package README and may not reflect the latest release.

Read the full README →

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
Modularize Your Laravel Application With the Modular Package image

Modularize Your Laravel Application With the Modular Package

Read article
Introduction to Rollup.js image

Introduction to Rollup.js

Read article
The Scaling Laravel Course by Chris Fidao is now Live image

The Scaling Laravel Course by Chris Fidao is now Live

Read article
Making a module for Akaunting (sponsor) image

Making a module for Akaunting (sponsor)

Read article
Building Flexible Axios Clients image

Building Flexible Axios Clients

Read article

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift