PHPackages                             l-modular/package - 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. l-modular/package

ActiveLibrary[Framework](/categories/framework)

l-modular/package
=================

Use laravel package system for developing web application as modular

51.8k↓100%PHP

Since Apr 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PShadowClone/LModular)[ Packagist](https://packagist.org/packages/l-modular/package)[ RSS](/packages/l-modular-package/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

### Introduction

[](#introduction)

L-modular library gives you the ability to divide your system into multiple packages, each package has its own required classes so, your system will become more clearly in addition to simplify the re-using of the common generated packages such as (user , admin etc. ) in another projects

### Installation

[](#installation)

```
$ composer require l-modular/package
```

copy service provider link to config/app.php , providers\[\]

```
Modular\Provider\ModularServiceProvider::class,
```

after typing `php artisan`, you can use one of the commands below

### Base commands

[](#base-commands)

```
$ php artisan packages:create {package}
```

this command helps you to create new package by inserting the package name instead of `${package}`.

#### Notes

[](#notes)

- The default master folder is **Modules**, means that if you applied the command in the above, the path of your package will be like `{YourProject}/Modules/{package}`
- If you want to create package with custom path, you should append `--path=` to the command in the above to be like `php artisan packages:create {package} --path={package_full_path}` so the result will be like `{YourProject}/{path}/{package}`. ```
    $ php artisan packages:list
    ```

    the following command helps you show the names of packages you've created before. ```
    $ php artisan packages:delete {package}
    ```

    This line deletes the package you passed and removes its ServiceProvider from `Config/app`
- If you want to customize the stub files, just type the command below. ```
     $ php artisan packages:stubs
    ```

    Once you typed the command, a new folder with **Packages/l-modular/assets** path will be generated automatically with all stubs that used to generate package's classes.

### Optional commands

[](#optional-commands)

```
$ php artisan packages:model {model} {package}
```

this command helps you create a new **model** in the package you chose.

```
$ php artisan packages:controller {controller} {package}
```

this command helps you create a new **controller** in the package you chose.

```
$ php artisan packages:middleware {middleware} {package}
```

this command helps you create a new **middleware** in the package you chose.

```
$ php artisan packages:migration {migration} {package}
```

this command helps you create a new **migration** in the package you chose.

```
$ php artisan packages:repo {repository} {package}
```

this command helps you create a new **repository** in the package you chose.

```
$ php artisan packages:service {service} {package}
```

this command helps you create a new **service** in the package you chose.

### Contact

[](#contact)

**Please**, feel free to contact me if get any kind of issues

- Email [Amr Saidam](mailto:amr.saidam.94@gmail.com)
- Upwork [Amr Saidam](https://www.upwork.com/freelancers/~01b9c72b9a4f1f9cfd)
- Twitter [Amr Saidam](https://twitter.com/Amr_Saidam)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/79ec7db1259fc98593884b7a7b4fc4b5e3f3807e6fc1c6f03a3256ee056f5935?d=identicon)[amr\_saidam](/maintainers/amr_saidam)

---

Top Contributors

[![PShadowClone](https://avatars.githubusercontent.com/u/25161176?v=4)](https://github.com/PShadowClone "PShadowClone (44 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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