PHPackages                             amranidev/lpackager - 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. amranidev/lpackager

ActiveLibrary[Framework](/categories/framework)

amranidev/lpackager
===================

Packages Generator for Laravel

v1.0.16(7y ago)422445[1 issues](https://github.com/amranidev/lpackager/issues)MITPHPPHP &gt;=5.5.9

Since May 16Pushed 7y ago3 watchersCompare

[ Source](https://github.com/amranidev/lpackager)[ Packagist](https://packagist.org/packages/amranidev/lpackager)[ Docs](http://github.com/amranidev/scaffold-interface)[ RSS](/packages/amranidev-lpackager/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

lpackager
---------

[](#lpackager)

[![SensioLabsInsight](https://camo.githubusercontent.com/c1bd130afaee502fc7f7c72162d72875ca85cf1243595b0ab2b9efbcc17cff1b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64653732653934302d336330362d343636342d623834632d3432353833386364363865612f6269672e706e67)](https://insight.sensiolabs.com/projects/de72e940-3c06-4664-b84c-425838cd68ea)

[![Build Status](https://camo.githubusercontent.com/eb5ef7abd2fd6fb9df66068212e30bc28454429e483aa9f250d037480af8497d/68747470733a2f2f7472617669732d63692e6f72672f616d72616e696465762f6c7061636b616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/amranidev/lpackager)[![StyleCI](https://camo.githubusercontent.com/8068836fc1ca02fa79225701ff9d5ca05d6ce1eb85bd7c7c828da463b643c914/68747470733a2f2f7374796c6563692e696f2f7265706f732f35373135313135392f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/57151159)[![Latest Stable Version](https://camo.githubusercontent.com/bd34dc825f527193a235ef6ff7226e3c9bf2ada35af1937b910e29a2dbe02abd/68747470733a2f2f706f7365722e707567782e6f72672f616d72616e696465762f6c7061636b616765722f762f737461626c65)](https://packagist.org/packages/amranidev/lpackager) [![Latest Unstable Version](https://camo.githubusercontent.com/476a8b2b930fc94b583c7631ab63f720925a9edb71e041248020d98c324ae6a2/68747470733a2f2f706f7365722e707567782e6f72672f616d72616e696465762f6c7061636b616765722f762f756e737461626c65)](https://packagist.org/packages/amranidev/lpackager) [![License](https://camo.githubusercontent.com/1d0d77afc2674c5669c27a57d72aa5a480c506d1cba5703acf410147178932da/68747470733a2f2f706f7365722e707567782e6f72672f616d72616e696465762f6c7061636b616765722f6c6963656e7365)](https://packagist.org/packages/amranidev/lpackager)

Lpackager is a CLI tool that allows you to generate packages/modules into your laravel app without forgetting business logic. [Split laravel app into packages/modules](http://amranidev.github.io/blog/site/split-your-laravel-app/).

### I. Package Installation

[](#i-package-installation)

1. Run composer require to install Lpackager :

    ```
    composer require Amranidev/Lpackager

    ```

    Or add in composer.json:

    ```
    require : {
        "Amranidev/Lpackager": "v1.0.*"
    }
    ```

    Then update composer :

    ```
    $ composer update

    ```
2. Add the service providers to config/app.php :

    ```
    Amranidev\Lpackager\LpackagerServiceProvider::class,
    ```

### II. Quick Start

[](#ii-quick-start)

Create new package by `php artisan lpackager:package   `

In this example, we will create a new (package/module) into our application with a name (Customer).

1. Create your first package:

    `php artisan lpackager:package Customer Kernel "Kernel\Customer"`

[![Imgur](https://camo.githubusercontent.com/9a88f3230dec03efe6849a0089fd67a35a536329ee4ab58aa35add592ff4e707/687474703a2f2f692e696d6775722e636f6d2f695252387046362e706e67)](https://camo.githubusercontent.com/9a88f3230dec03efe6849a0089fd67a35a536329ee4ab58aa35add592ff4e707/687474703a2f2f692e696d6775722e636f6d2f695252387046362e706e67)

2. Register namespace:

    Add to composer.json

    ```
       "psr-4": {
           "App\\": "app/",
           "Kernel\\Customer\\": "Kernel/Customer/src"
       }
    ```
3. Register the service provider:

    Add the service provider to config/app.php

    ```
    Kernel\Customer\CustomerServiceProvider::class,
    ```
4. Finally:

    Run `composer dump-autoload`

    Check if evreything is okey :

    `http://{your-project-url}/client`

### III. Commands

[](#iii-commands)

- Create new Package : `php artisan lpackager:package   `
- Create new Controller : `php artisan lpackager:controller    `
- Create new Model : `php artisan lpackager:model   `

#### Contact :

[](#contact--amranidevgmailcom)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~150 days

Recently: every ~224 days

Total

7

Last Release

2795d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.0

v1.0.11PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b21b52fe4155fd099ad9d7436ed2d4b142ca777b7724770a9b1fc3c945233f0?d=identicon)[amranidev](/maintainers/amranidev)

---

Top Contributors

[![amranidev](https://avatars.githubusercontent.com/u/12874619?v=4)](https://github.com/amranidev "amranidev (161 commits)")[![Modelizer](https://avatars.githubusercontent.com/u/7669734?v=4)](https://github.com/Modelizer "Modelizer (2 commits)")[![Kristories](https://avatars.githubusercontent.com/u/774338?v=4)](https://github.com/Kristories "Kristories (1 commits)")

---

Tags

laravelmodulespackagesframeworklaravelpackagepackage generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/amranidev-lpackager/health.svg)

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

###  Alternatives

[jsdecena/laracom

Laravel powered e-commerce

2.0k4.4k](/packages/jsdecena-laracom)[hemp/presenter

Easy Model Presenters in Laravel

247608.3k1](/packages/hemp-presenter)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27234.5k](/packages/rahulalam31-laravel-abuse-ip)[jsdecena/laravel-passport-multiauth

Simple laravel passport multiple user authentication

501.1k](/packages/jsdecena-laravel-passport-multiauth)[rcv/core

Enterprise-Grade Modular Architecture for Laravel Applications - A powerful Laravel package that revolutionizes application development with robust Service Repository Pattern, Dynamic Module Management, and 50+ Artisan commands for scalable, maintainable applications.

131.2k](/packages/rcv-core)

PHPackages © 2026

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