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

Laravel Modular Laravel Package

alizharb/laravel-modular

View on GitHub
Deep Wiki
Context7

Documentation Guide

Build faster with a modular workflow that feels native.

Stop fighting your architecture. Laravel Modular commands simply extend the Artisan commands you already know and love.

Scaffolding

Just add --module={Name} to any standard Laravel command.

Create a Module

php artisan make:module Blog

Create Components

# Model + Migration + Controller + Factory
php artisan make:model Post --module=Blog -mcf

# Livewire Component (requires modular-livewire)
php artisan make:livewire PostsTable --module=Blog

# Form Request
php artisan make:request UpdatePostRequest --module=Blog

Lazy Tip: You don't need to learn new commands. If you know php artisan make:controller, you already know how to use this package.

Database

Run migrations for your modules without affecting the core app.

Migrations

# Migrate everything (App + Modules)
php artisan modular:migrate

# Migrate ONLY the 'Shop' module
php artisan modular:migrate Shop

Seeding

# Run seeders for 'Shop'
php artisan modular:seed Shop

Management

Keep your modules organized.

  • List Modules: php artisan modular:list (Visualize everything)
  • Sync Dependencies: php artisan modular:sync (Merge composer.json from modules)
  • Uninstall: php artisan module:uninstall Blog (Delete safely)
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.
nasirkhan/laravel-sharekit
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