PHPackages                             blitheforge/laravel-modular-kit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. blitheforge/laravel-modular-kit

ActiveLibrary[Framework](/categories/framework)

blitheforge/laravel-modular-kit
===============================

Laravel package to scaffold modules and module resources.

v1.0.0(3mo ago)07MITPHPPHP ^8.0

Since Apr 17Pushed 3mo agoCompare

[ Source](https://github.com/blitheforge/laravel-modular-kit)[ Packagist](https://packagist.org/packages/blitheforge/laravel-modular-kit)[ RSS](/packages/blitheforge-laravel-modular-kit/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Blitheforge Laravel Modular Kit
===============================

[](#blitheforge-laravel-modular-kit)

A Laravel package for generating and auto-registering modular feature packages inside a Laravel application.

It creates a `Modules/` folder structure, generates module controllers, models, migrations, routes, providers, and automatically loads module service providers so route files work without manual composer configuration.

Features
--------

[](#features)

- `make:module {name}` creates a new module skeleton under `Modules/{Name}`
- Module provider auto-registration at runtime
- Auto-loads module routes, views, migrations, and helpers
- Support for additional resource generation via `make:module:resource`
- Works without requiring users to add a `Modules\` PSR-4 autoload entry in the main app

Requirements
------------

[](#requirements)

- PHP `^8.0`
- Laravel `^13.0`

Installation
------------

[](#installation)

Install the package in your Laravel app:

```
composer require blitheforge/laravel-modular-kit
```

Laravel will automatically discover the package service provider.

Usage
-----

[](#usage)

### Create a module

[](#create-a-module)

```
php artisan make:module Auth
```

This command generates:

- `Modules/Auth/Providers/AuthServiceProvider.php`
- `Modules/Auth/Routes/web.php`
- `Modules/Auth/Controllers/AuthController.php`
- `Modules/Auth/Models/Auth.php`
- `Modules/Auth/Database/Migrations/create_auth_table.php`
- `Modules/Auth/Database/Seeders/AuthSeeder.php`
- `Modules/Auth/Views`
- `Modules/Auth/Helpers`

### Add module resources

[](#add-module-resources)

Generate additional module resources with:

```
php artisan make:module:resource {module} {type} {name}
```

Supported resource types:

- `controller`
- `model`
- `migration`
- `route`

Example:

```
php artisan make:module:resource Auth route login
```

How it works
------------

[](#how-it-works)

The package service provider scans `Modules/` at runtime and:

1. Registers a `Modules\` PSR-4 namespace with Composer's autoloader
2. Discovers each module service provider
3. Registers each module provider automatically
4. Loads module routes, views, migrations, and helper files

This means module routes are loaded without custom manual setup in the consuming app.

Commands
--------

[](#commands)

- `php artisan make:module {name}`
- `php artisan make:module:resource {module} {type} {name}`
- `php artisan make:module-controller {module} {name}`
- `php artisan make:module-model {module} {name}`
- `php artisan make:module-migration {module} {name}`
- `php artisan make:module-route {module} {name}`

Module structure
----------------

[](#module-structure)

A generated module uses the following layout:

```
Modules/{ModuleName}/
├── Controllers/
├── Database/
│   ├── Migrations/
│   └── Seeders/
├── Helpers/
├── Models/
├── Providers/
└── Routes/
    └── web.php

```

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance81

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

99d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167777668?v=4)[Blithe Forge](/maintainers/blitheforge)[@blitheforge](https://github.com/blitheforge)

---

Top Contributors

[![mehedibuet11](https://avatars.githubusercontent.com/u/63015640?v=4)](https://github.com/mehedibuet11 "mehedibuet11 (10 commits)")

### Embed Badge

![Health badge](/badges/blitheforge-laravel-modular-kit/health.svg)

```
[![Health](https://phpackages.com/badges/blitheforge-laravel-modular-kit/health.svg)](https://phpackages.com/packages/blitheforge-laravel-modular-kit)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/queue

The Illuminate Queue package.

20432.6M1.7k](/packages/illuminate-queue)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[laravel/folio

Page based routing for Laravel.

603583.7k34](/packages/laravel-folio)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
