Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Module

Laravel Module Laravel Package

akaunting/laravel-module

A Laravel package for modular application development. Create self-contained modules with their own routes, views, migrations, translations, and service providers, then enable, disable, and manage them easily within your app.

View on GitHub
Deep Wiki
Context7

Module management package for Laravel

Frequently asked questions about Laravel Module
What is akaunting/laravel-module used for in Laravel?
It is a module management package for building modular monolith applications in Laravel. Each module is self-contained with its own routes, views, migrations, translations, assets, and service providers. You can then enable, disable, and manage those modules from within your application. It is an internal structure enabler rather than a microservice or platform strategy.
How do I install akaunting/laravel-module with Composer?
Install it through Composer and register the package service provider following standard Laravel package conventions. After installation you scaffold modules and register their providers so Laravel can discover routes, views, migrations, and translations. Pin the package version and confirm its Composer constraints match your Laravel and PHP versions before rolling it out. A thin proof of concept is recommended first because ecosystem validation is limited.
Which Laravel and PHP versions does this package support?
The supported Laravel and PHP matrix is not clearly documented in the available evaluation, so you must verify it yourself. Check the package's composer.json constraints and its test suite against your exact Laravel and PHP versions. Because the project tracks Akaunting's needs, version support may lag behind the latest Laravel releases. Pin the version and add CI coverage for upgrades.
Is akaunting/laravel-module a good alternative to nwidart/laravel-modules?
Both packages target modular monolith development in Laravel, but nwidart/laravel-modules has far broader community adoption. This package has around 125 stars and a low assessment score, indicating limited independent validation. It is closely tied to Akaunting's conventions, which may or may not match a general Laravel product. Evaluate overlap and conflicts carefully, and avoid running two module systems side by side.
How does module enable, disable, and discovery work?
Modules are registered and toggled through the package's management layer, with each module exposing its own service providers, routes, migrations, views, and translations. Discovery relies on conventional Laravel mechanisms, so autoload conventions and caching behavior matter. Edge cases around discovery and autoloading are not well documented, so test the lifecycle explicitly. Add CI checks for enable, disable, and cache-clear workflows.
Will it work with Laravel route and config caching in production?
It should work with standard Laravel caching, but module discovery, route registration, and asset publishing can interact with cached routes and config. Always clear and rebuild caches as part of your deploy pipeline, and verify that disabled modules do not leave stale routes behind. Migration ordering across modules is another release concern to validate. Treat cache warm-up as a tested step, not an afterthought.
Does it support multi-tenant or multi-domain Laravel applications?
Multi-tenant and multi-domain support is not confirmed in the available evaluation and should be treated as an open question. If you need per-tenant module activation or domain-specific routes, plan a spike to prove it before committing. Module boundaries and configuration scoping are the areas most likely to need custom work. Do not assume tenant isolation is built in.
Is akaunting/laravel-module safe for production use?
It is MIT licensed, so there is no legal friction, but there is also no vendor SLA or commercial support. With limited community adoption, treat it as a source-available dependency that your team owns and may need to patch. Assign a named internal owner, define an escalation path, and budget for Laravel upgrade testing. Start with a non-critical vertical slice and define a rollback path if module discovery fails.
How should I migrate an existing Laravel app to modules with this package?
Start with one non-critical vertical slice as a pilot module while leaving existing application code intact. Register the module alongside your current providers and compare operational behavior before expanding. Define an internal module contract covering manifests, namespaces, dependencies, and lifecycle commands. Avoid a big-bang migration of all domains, and only broaden adoption after maintainability review.
What are the main risks or downsides of adopting it?
The primary risks are low community adoption, unclear long-term maintainer commitment, and undocumented edge cases around discovery, autoloading, migration ordering, and asset publishing. Coupling to Akaunting-specific conventions could create hidden migration cost in a general Laravel product. Module boundaries can also decay organizationally over time. MIT licensing removes legal friction but provides no support guarantee, so plan for internal ownership.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo