PHPackages                             laralibs/modular - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laralibs/modular

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laralibs/modular
================

23051PHP

Since Jun 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/laravel-libraries/modular)[ Packagist](https://packagist.org/packages/laralibs/modular)[ RSS](/packages/laralibs-modular/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![alt tag](https://raw.githubusercontent.com/laravel-libraries/modular/master/welcome.png)](https://raw.githubusercontent.com/laravel-libraries/modular/master/welcome.png)

---

### Build Status

[](#build-status)

master branchdevelop branch[![Build Status](https://camo.githubusercontent.com/fba36bce9a46ae565d8f8e2ec854122690453f9367f5c945230bccadb75918da/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2d6c69627261726965732f6d6f64756c61722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/laravel-libraries/modular)[![Build Status](https://camo.githubusercontent.com/1cdb6140859cd025754986e3cfd0165931ef12d205be03015ff5ea78f84a3120/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2d6c69627261726965732f6d6f64756c61722e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/laravel-libraries/modular)---

### Todo's

[](#todos)

StatusCommandsDescriptions👍make:module {name}Create a new module👍module:auth {module\_name} {name}Scaffold basic login and registration views and routes on your modules⌛module:console {module\_name} {name}Create a new module's Artisan command⌛module:controller {module\_name} {name}Create a new module's controller class⌛module:event {module\_name} {name}Create a new module's event class⌛module:job {module\_name} {name}Create a new module's job class⌛module:middleware {module\_name} {name}Create a new module's middleware class⌛module:model {module\_name} {name}Create a new module's Eloquent model class⌛module:provider {module\_name} {name}Create a new module's service provider class---

Now managing your applications to have the same resources is made easy with this package.

Imagine having an **API**, **Admin Panel** and some other functionalities that handles the same classes like `service providers`, `models`, `events`, `console commands`, `migrations` etc.

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

[](#installation)

via console, execute this `composer require laralibs/modular@0.*@dev`

in your laravel project add this in your `composer.json`

```
{
    ...

    "autoload": {
        ...
        "psr-4": {
            ...
            "Modules\\": "modules"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}
```

and add this **ModularServiceProvider** in your `config/app.php` at **providers** index.

```
'providers' => [
    ...

    LaraLibs\Modular\ModularServiceProvider::class,
],
```

When you are done adding this class, you should be able to see `make:module` command after running the `php artisan`

Execution
---------

[](#execution)

When running the command

`php artisan make:module admin`, this should generate the lists of files

- public/admin.php
- modules/Admin/Console/Kernel.php
- modules/Admin/Controllers/Controller.php
- modules/Admin/Exceptions/Handler.php
- modules/Admin/Http/Kernel.php
- modules/Admin/Http/routes.php
- modules/Admin/Providers/RouteServiceProvider.php

After that, insert the **RouteServiceProvider.php** in your providers config, something like `Modules\Admin\Providers\RouteServiceProvider::class`

Web Server
----------

[](#web-server)

Now point your NginX or Apache to use the `public/admin.php` instead, and you are set to go!

Contributors
------------

[](#contributors)

- [Daison Carino](https://github.com/daison12006013)
- [Napoleon Carino](https://github.com/napoleon101392)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.2% 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/ef7a534e3d6099a4116f0d95cfc34a15062ea39b25dde37530ef90b5944868b9?d=identicon)[daison12006013](/maintainers/daison12006013)

---

Top Contributors

[![daison12006013](https://avatars.githubusercontent.com/u/4581415?v=4)](https://github.com/daison12006013 "daison12006013 (55 commits)")[![napoleon101392](https://avatars.githubusercontent.com/u/8497373?v=4)](https://github.com/napoleon101392 "napoleon101392 (1 commits)")

### Embed Badge

![Health badge](/badges/laralibs-modular/health.svg)

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

###  Alternatives

[bastinald/laravel-livewire-toasts

Dynamic Laravel Livewire Bootstrap toasts.

161.4k](/packages/bastinald-laravel-livewire-toasts)

PHPackages © 2026

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