Weave Code
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

Modules Laravel Package

coolsam/modules

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modular Monolith Architecture: Enables teams to decompose large Filament admin panels into self-contained modules (e.g., "Inventory," "HR," "Reporting"), improving maintainability and scalability. Aligns with the "build vs. buy" decision to avoid vendor lock-in while leveraging reusable components.
  • Feature Flagging & Progressive Rollouts: Modules can be developed independently and enabled/disabled via configuration, supporting canary releases or A/B testing of admin panel features.
  • Cross-Project Reusability: Modules can be packaged as Filament plugins or Laravel modules, reducing duplication across microservices or multi-tenant SaaS applications.
  • Team Isolation: Assigns ownership of specific admin panel sections (e.g., "Billing" module to the Finance team) without merging conflicts, accelerating parallel development.
  • Legacy System Integration: Bridges older Laravel/Filament versions (via nwidart/laravel-modules) with modern stacks, enabling gradual migration of monolithic admin panels.
  • Marketplace-Ready Plugins: Modules can be published as standalone Filament plugins (e.g., "Analytics Dashboard" or "User Management"), monetizing internal tools or selling them via Filament’s plugin ecosystem.

When to Consider This Package

  • Avoid if:

    • Your Filament admin panel is small (<10 resources/pages) and unlikely to grow. Overhead of module scaffolding may not justify benefits.
    • Your team lacks modular design experience or prefers monolithic codebases for simplicity.
    • You’re using Filament 3.x/Laravel 10.x (use 4.x branch instead).
    • Your project requires zero-configuration (this package adds ~500 lines of boilerplate per module).
    • You need real-time collaboration (modules introduce isolation that may complicate shared editing).
  • Consider alternatives:

    • For lightweight modularity: Use Filament’s built-in plugin system without laravel-modules.
    • For microservices: Pair with Laravel Sanctum/Passport + separate Filament panels per service.
    • For legacy systems: Evaluate spatie/laravel-modular-monolith for database-level isolation.

How to Pitch It (Stakeholders)

For Executives/Stakeholders:

*"This package lets us decompose our monolithic admin panel into independent, reusable modules—like LEGO blocks for Filament. For example:

  • Finance team can own the ‘Billing’ module without touching the ‘Inventory’ code.
  • New features (e.g., ‘Analytics Dashboard’) can be developed in isolation and rolled out gradually.
  • Third-party plugins (e.g., ‘CRM Integration’) can be packaged as modules and sold or shared across projects. Think of it as Git for your admin panel: modular, version-controlled, and scalable. The upfront cost is minimal (a few CLI commands), but the long-term savings in developer time and risk reduction are significant."

For Engineers:

*"This wraps nwidart/laravel-modules to add Filament-specific scaffolding (resources, pages, widgets) per module. Key wins:

  • CLI-driven workflow: php artisan module:filament:resource generates a resource inside a module’s namespace, with zero manual config.
  • Automatic plugin registration: Drop in ModulesPlugin to auto-load all modules as Filament plugins—no manual ->plugin() calls.
  • Cluster navigation: Organizes modules into top-level tabs (e.g., ‘Inventory’, ‘HR’) with sub-navigation, improving UX for large panels.
  • Access control hooks: Extends Filament’s Resource/Page classes to enforce module-level permissions (e.g., ‘Only Admins can edit the Billing module’). Downside: Adds ~500 lines of boilerplate per module, but the tradeoff is scalability and team autonomy."*

For Product Managers:

*"This enables feature-driven development for your admin panel:

  • Roadmap items like ‘Self-Service Portal’ or ‘Advanced Reporting’ can be built as modules and toggled via config.
  • Cross-team dependencies (e.g., ‘Marketing needs a new dashboard’) are resolved by assigning modules to specific teams.
  • Vendor/third-party integrations (e.g., Stripe, HubSpot) can be encapsulated in modules to isolate updates. Example pitch: ‘Let’s build the ‘Customer Support’ module first, then the ‘Sales’ module—we can merge them later or keep them separate for multi-tenant SaaS.’"*
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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony