PHPackages                             luna/laravel-packager - 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. luna/laravel-packager

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

luna/laravel-packager
=====================

Create a Laravel package template with ease

1.1.0(9y ago)115MITPHPPHP &gt;=5.5

Since Mar 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/DuckThom/laravel-packager)[ Packagist](https://packagist.org/packages/luna/laravel-packager)[ RSS](/packages/luna-laravel-packager/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (0)

Laravel Packager
================

[](#laravel-packager)

[![Latest Stable Version](https://camo.githubusercontent.com/111afb5b2e7dc23d034330258b88e480fc7e10b9756d44f6b6428fff27fa57d1/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d7061636b616765722f762f737461626c65)](https://packagist.org/packages/luna/laravel-packager)[![Total Downloads](https://camo.githubusercontent.com/025b618f97b571ef46e9beb29f2cf101f025c9897ddfdaebdf78b525bd9ac91d/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d7061636b616765722f646f776e6c6f616473)](https://packagist.org/packages/luna/laravel-packager)[![Latest Unstable Version](https://camo.githubusercontent.com/100d1ce9039a0e082bffbe74c47307b822894835064c5a14c3d3c517bc28def4/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d7061636b616765722f762f756e737461626c65)](https://packagist.org/packages/luna/laravel-packager)[![StyleCI](https://camo.githubusercontent.com/ccfdd4184ed364f86cf1ee2f6260b6e10bf1895166e01b3cdd41325db2790595/68747470733a2f2f7374796c6563692e696f2f7265706f732f38343938393938392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/84989989)[![TravisCI](https://camo.githubusercontent.com/c58ec318d60198acf935d2712d633c829976984c5be552a5d72bb46a69bd4365/68747470733a2f2f7472617669732d63692e6f72672f4475636b54686f6d2f6c61726176656c2d7061636b616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DuckThom/laravel-packager)[![License](https://camo.githubusercontent.com/af4a21dbfaea17d48fe48638b2c19b13251ea227c32434ae21d3c51424538766/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d7061636b616765722f6c6963656e7365)](https://packagist.org/packages/luna/laravel-packager)

### \# Prerequisites

[](#-prerequisites)

This package should run on PHP 5.5+ and Laravel 5.1+. ### \# Setup

[](#-setup)

First, add this package to your `composer.json`: ```
    composer require luna/laravel-packager "~1.0"

```

Then, add the service provider to `config/app.php`:

```
    "providers" => [
        // snip
        Luna\Packager\ServiceProvider::class,
    ];
```

If you want to use the package in the current project without adding it to, for example, packagist just yet, ie. for development, add the following line to your main project's `composer.json`:

```
{
    "autoload": {
        "classmap": [
            "database",
            "packages"   #  Add this line to your main projects composer.json
        ],
        "psr-4": {
            "App\\": "app/",
            "Tests\\": "tests/"
        }
    }
}

```

After adding that line, run `composer dump`, and add the package's service provider to `config/app.php`.

For example, you made a package which has the following structure: `/packages/Foo/Bar/BarServiceProvider.php`.

When you add the line to the `composer.json` in the project root, you can use that service provider with it's usual namespace: `Foo\Bar\BarServiceProvider::class`.

### \# Usage

[](#-usage)

```
    php artisan make:package   [--base-dir=packages]

```

Be default, the package files are created in `/packages/Vendor/Package`.

By specifying `--base-dir` in the `make:package` command, you can change where the files are placed.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

3394d ago

### Community

Maintainers

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

---

Top Contributors

[![DuckThom](https://avatars.githubusercontent.com/u/6512901?v=4)](https://github.com/DuckThom "DuckThom (20 commits)")

---

Tags

laravelpackage

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luna-laravel-packager/health.svg)

```
[![Health](https://phpackages.com/badges/luna-laravel-packager/health.svg)](https://phpackages.com/packages/luna-laravel-packager)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

20432.2M1.5k](/packages/illuminate-queue)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4821.5k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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