PHPackages                             kunsal/laramodula - 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. kunsal/laramodula

ActiveLibrary

kunsal/laramodula
=================

This package will scaffold a modular project structure in laravel

v1.0.8(6y ago)0483↓100%MITPHPPHP &gt;=5.6.0

Since Dec 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kunsal/laramodula)[ Packagist](https://packagist.org/packages/kunsal/laramodula)[ RSS](/packages/kunsal-laramodula/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (12)Used By (0)

Laramodula
==========

[](#laramodula)

[![CircleCI](https://camo.githubusercontent.com/47e9353fa141b1573ecd54f93f23638658d535fca6b07c6c5fb2ebb1ac4f5c0e/68747470733a2f2f636972636c6563692e636f6d2f67682f6b756e73616c2f6c6172616d6f64756c612e7376673f7374796c653d737667)](https://circleci.com/gh/kunsal/laramodula)[![Laravel 5.x|6.x](https://camo.githubusercontent.com/250ef6232edeafac24eef66aef54b755d67d3ac1ad9ae1dd024809eeba75f035/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e78253743362e782d6f72616e67652e737667)](http://laravel.com)[![Latest Stable Version](https://camo.githubusercontent.com/8e66aed2c6d62f67cc883d7843cf20c2ffd51b0a23d63dcbe879416bea6d5573/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b756e73616c2f6c6172616d6f64756c612e737667)](https://packagist.org/packages/kunsal/laramodula)[![Latest Unstable Version](https://camo.githubusercontent.com/3bdf653ae6b929a6966114486af342c867194368c1e9baaf4fe98371254712d5/68747470733a2f2f706f7365722e707567782e6f72672f6b756e73616c2f6c6172616d6f64756c612f762f756e737461626c65)](https://packagist.org/packages/kunsal/laramodula)[![Total Downloads](https://camo.githubusercontent.com/6baf1eb753c6220a98b0968445dab36f510b306604ea749f9ad79f844fc8dbf5/68747470733a2f2f706f7365722e707567782e6f72672f6b756e73616c2f6c6172616d6f64756c612f646f776e6c6f616473)](https://packagist.org/packages/kunsal/laramodula)[![GitHub issues](https://camo.githubusercontent.com/39eb033a541f1d0f0e9e8789362228f073ffe3ebd0422d06ee07eb3741f6bd8f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b756e73616c2f6c6172616d6f64756c61)](https://github.com/kunsal/laramodula/issues)[![GitHub forks](https://camo.githubusercontent.com/3c58234bb466bbe8a224b6b665c13df6e5b9b6af11805e537354ed07d7874d7e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6b756e73616c2f6c6172616d6f64756c61)](https://github.com/kunsal/laramodula/network)[![Latest Stable Version](https://camo.githubusercontent.com/fcc0bdd04cc0e259d90f72319cdbdfe806e309a7fce27cf61f04ac356c42c6fd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b756e73616c2f6c6172616d6f64756c612e737667)](https://github.com/kunsal/laramodula/blob/master/LICENSE)

`Laramodula` is a Laravel package which is used to manage large Laravel app. As your app grows in complexity and size, managing it with the default Laravel folder structure makes it less maintainable. Modularizing your app gives you more room for maintainability and extension. This is what this package does by grouping related controllers, models, views etc into same folders called modules.

Structure
---------

[](#structure)

This provides a modular project structure scaffold in Laravel.

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

[](#installation)

### Using Composer

[](#using-composer)

`composer require kunsal/laramodula`

### Manual Installation

[](#manual-installation)

Modify your `composer.json` file to include:

```
{
    "require": {
        "kunsal/laramodula": "1.0.*"
    }
}

```

and run `composer install`

This package will be auto-discovered by Laravel at installation and so there is no need add it to `config/app.php`.

Usage
-----

[](#usage)

To generate a simple Blog module, run

`php artisan make:module Blog`

You can optionally pass parameters to the generation script like so:

- Module with default migration scaffold

    `php artisan make:module Blog --migration`
- Module with default form: This module leverages on Kris\\LaravelFormBuilder

    `php artisan make:module Blog --migration --form="title:text, body:textarea"`

    Check  for more on form field values and implementation of the form builder.
- Make a resource controller with boilerplate code with the flag `--resources`

Below is how a Blog module is structured when you run `php  artisan module:make`.

```
 app/
 |-- ...
 |-- Modules/
 |---- Blogs/
 |------ Events/
 |------ Forms/
 |-------- BlogForm.php
 |------ Http/
 |-------- Controllers/
 |---------- BlogController.php
 |-------- Requests/
 |---------- StoreBlogRequest.php
 |---------- UpdateBlogRequest.php
 |-------- Services/
 |---------- CreateBlogService.php
 |-------- routes.php
 |------ Listeners/
 |------ Mail/
 |------ Models/
 |-------- Migrations/
 |---------- 2019_12_21_112619_create_blogs_table.php
 |-------- Blog.php
 |------ Providers/
 |-------- BlogEventServiceProvider.php
 |-------- BlogServiceProvider.php
 |------ Repositories/
 |-------- Eloquent/
 |---------- BlogRepository.php
 |-------- BlogInterface.php
 |------ Resources/
 |-------- Lang/
 |-------- Views/
 |---------- index.blade.php
 |---------- form.blade.php
 |------ Traits/

```

License
-------

[](#license)

This package has an MIT License. Please see [Licence File](https://github.com/kunsal/laramodula/blob/master/LICENSE) for more.

###  Health Score

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Every ~2 days

Total

9

Last Release

2265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce3103ffeef83158be1cb4dc6c8108e2fe1858fb6fee2b79213e1c22035bbab9?d=identicon)[Kunsal](/maintainers/Kunsal)

---

Top Contributors

[![kunsal](https://avatars.githubusercontent.com/u/11226874?v=4)](https://github.com/kunsal "kunsal (21 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kunsal-laramodula/health.svg)

```
[![Health](https://phpackages.com/badges/kunsal-laramodula/health.svg)](https://phpackages.com/packages/kunsal-laramodula)
```

###  Alternatives

[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

2829.4M41](/packages/yajra-laravel-datatables-html)[yajra/laravel-datatables-buttons

Laravel DataTables Buttons Plugin.

2558.9M50](/packages/yajra-laravel-datatables-buttons)[yajra/laravel-datatables-fractal

Laravel DataTables Fractal Plugin.

966.7M28](/packages/yajra-laravel-datatables-fractal)[yajra/laravel-datatables

Laravel DataTables Complete Package.

965.7M49](/packages/yajra-laravel-datatables)[sebastienheyd/boilerplate

Laravel Boilerplate based on AdminLTE 3 with blade components, user management, roles, permissions, logs viewer, ...

28617.7k2](/packages/sebastienheyd-boilerplate)[panichd/panichd

Ticketing system for Laravel (from 5 to 8). Allows to create new tickets via form only. Includes file attachments, ticket tags, filtering, scheduling and e-mail notifications.

935.6k](/packages/panichd-panichd)

PHPackages © 2026

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