PHPackages                             trieunb/modules - 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. trieunb/modules

ActivePackage

trieunb/modules
===============

A package module of team ans-asia build for dev

32.2k↓100%PHP

Since Apr 4Pushed 8y ago2 watchersCompare

[ Source](https://github.com/trieunb/Modules)[ Packagist](https://packagist.org/packages/trieunb/modules)[ RSS](/packages/trieunb-modules/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Modules
=======

[](#modules)

This package gives you the ability to use Laravel 5 with module system. You can simply drop or generate modules with their own controllers, models, views and a routes file into the `app/Modules` folder and go on working with them.

Documentation
-------------

[](#documentation)

- [Installation](#installation)
- [Getting started](#getting-started)
- [Usage](#usage)

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

[](#installation)

The best way to install this package is through your terminal via Composer.

Run the following command from your projects root

```
composer require "trieunb/modules @dev"

```

Once this operation is complete, simply add the service provider to your project's `config/app.php` and you're done.

#### Service Provider

[](#service-provider)

```
Trieunb\Modules\ModuleServiceProvider::class,

```

Getting started
---------------

[](#getting-started)

The built in Artisan command `php artisan make:module name` generates a ready to use module in the `app/Modules` folder and a migration if necessary.

This is how the generated module would look like:

```
laravel-project/
    app/
    └── Modules/
        └── Demo/
            ├── Controllers/
            │   └── DemoController.php
            ├── Models/
            │   └── Demo.php
            ├── Views/
            │   └── index.blade.php
            └── routes.php
                

```

Usage
-----

[](#usage)

The generated `RESTful Resource Controller` and the corresponding `routes.php` make it easy to dive in. In my example you would see the output from the `Modules/Demo/Views/index.blade.php` when you open `laravel-project:8000/demo` in your browser.

License
-------

[](#license)

modules is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT)(See LICENSE file for details).

---

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/007a2de56f71901a89dbf08c697485ff29c007ec089014bea3767a45d3ae84c7?d=identicon)[trieunb](/maintainers/trieunb)

---

Top Contributors

[![trieunb](https://avatars.githubusercontent.com/u/5581809?v=4)](https://github.com/trieunb "trieunb (30 commits)")

### Embed Badge

![Health badge](/badges/trieunb-modules/health.svg)

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

PHPackages © 2026

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