PHPackages                             faisalrizal/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. [Framework](/categories/framework)
4. /
5. faisalrizal/modules

AbandonedArchivedLibrary[Framework](/categories/framework)

faisalrizal/modules
===================

Laravel &amp; Lumen Modules

1.0.2(4y ago)040[1 issues](https://github.com/mrfaisalrizal/modules/issues)MITPHPPHP ^7.2

Since Mar 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mrfaisalrizal/modules)[ Packagist](https://packagist.org/packages/faisalrizal/modules)[ RSS](/packages/faisalrizal-modules/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

Clone from Caffeinated Modules
==============================

[](#clone-from-caffeinated-modules)

Tokolabs Modules
================

[](#tokolabs-modules)

[![Latest Version](https://camo.githubusercontent.com/f7fe1e702e4769b55a4dec1551f2dec28a30b4592de21863d52c3fb5c9b1d722/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f66616973616c72697a616c2f6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://github.com/faisalrizal/modules/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/2627cc9e8acbca47fa3039249bf058aad4a45119f3aa3883a9d7fe9ffd4917d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66616973616c72697a616c2f6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/faisalrizal/modules)

Tokolabs Modules is a simple package to allow the means to separate your Lumen 5.6 application out into modules. Each module is completely self-contained allowing the ability to simply drop a module in for use.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

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

[](#documentation)

You will find user friendly and updated documentation in the wiki here: [Caffeinated Modules Wiki](https://github.com/caffeinated/modules/wiki)

Quick Installation
------------------

[](#quick-installation)

Begin by installing the package through Composer.

```
composer require faisalrizal/modules

```

Once this operation is complete, simply add both the service provider and facade classes to your project's `bootstrap/app.php` file:

For Laravel
-----------

[](#for-laravel)

#### Service Provider

[](#service-provider)

Add the following service provider in `config/app.php`.

```
'providers' => [
  Tokolabs\Modules\ModulesServiceProvider::class,
],
```

Next, add the following aliases to `aliases` array in the same file.

```
'aliases' => [
  'Module' => Tokolabs\Modules\Facades\Module::class,
],
```

Next publish the package's configuration file by run :

```
php artisan vendor:publish
```

For Lumen
---------

[](#for-lumen)

#### Service Provider

[](#service-provider-1)

```
$app->register(Tokolabs\Modules\ModulesServiceProvider::class);
```

#### Facade

[](#facade)

```
$app->withFacades(true, [Tokolabs\Modules\Facades\Module::class => 'Module']);
```

And that's it! With your coffee in reach, start building out some awesome modules!

#### Add Module

[](#add-module)

```
$app->register(App\Modules\[ModuleName]\Providers\ModuleServiceProvider::class);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~107 days

Recently: every ~291 days

Total

12

Last Release

1809d ago

Major Versions

0.1.8 → 1.02020-05-31

PHP version history (3 changes)0.1PHP &gt;=5.6.4

1.0PHP ^7.2.0

1.0.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f55bb2dce6795cdb8b866d7dfd31ffcd77f06509d5cded87b8520e1a2955ba3?d=identicon)[faisalrizal](/maintainers/faisalrizal)

---

Top Contributors

[![mrfaisalrizal](https://avatars.githubusercontent.com/u/792855?v=4)](https://github.com/mrfaisalrizal "mrfaisalrizal (49 commits)")

---

Tags

laravellumenmodulestokolabs

### Embed Badge

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

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

###  Alternatives

[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[caffeinated/modules

Laravel Modules

953661.5k9](/packages/caffeinated-modules)[saad/api-debugger

Easily debug your JSON API.

1170.1k](/packages/saad-api-debugger)

PHPackages © 2026

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