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

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

redberryproducts/laravel-packager
=================================

Package to easily initiate new package using spatie's laravel package skeleton

v1.0.2(1y ago)213[1 issues](https://github.com/RedberryProducts/laravel-packager/issues)MITPHPPHP ^8.3|^8.4CI passing

Since Apr 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/RedberryProducts/laravel-packager)[ Packagist](https://packagist.org/packages/redberryproducts/laravel-packager)[ Docs](https://github.com/redberryproducts/laravel-packager)[ GitHub Sponsors](https://github.com/Redberry)[ RSS](/packages/redberryproducts-laravel-packager/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (13)Versions (4)Used By (0)

Package to easily initiate new package using spatie's laravel package skeleton
==============================================================================

[](#package-to-easily-initiate-new-package-using-spaties-laravel-package-skeleton)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d8a1612e4e11ba9395dc0ad2253b634fe3b22639db6055e357002e6e4b9a264f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726564626572727970726f64756374732f6c61726176656c2d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/redberryproducts/laravel-packager)[![GitHub Tests Action Status](https://camo.githubusercontent.com/283fc95e4733f9060598b851e3c0b8d2dfa24f7e4b1c79b43564a83a53495a96/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726564626572727970726f64756374732f6c61726176656c2d7061636b616765722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/redberryproducts/laravel-packager/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1fe10505d0d3b875e2ad408593cd1906762053a86bbdc9905216f5ef0cce40bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726564626572727970726f64756374732f6c61726176656c2d7061636b616765722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/redberryproducts/laravel-packager/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/261ee37ddc4d2a154689ccb6dc4203203d8102a8916d5c391315ec1ad5799224/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726564626572727970726f64756374732f6c61726176656c2d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/redberryproducts/laravel-packager)

Laravel Packager is a streamlined Laravel package designed to simplify the creation of new package skeletons within your project. With minimal effort, it clones a customizable skeleton repository, detaches it from its original Git history, and seamlessly integrates the new package into your application’s composer.json. By automating these steps, Laravel Packager eliminates the friction of package initialization, making it effortless to extract reusable features into standalone packages for enhanced modularity and maintainability.

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

[](#installation)

You can install the package via composer:

```
composer require redberryproducts/laravel-packager
```

You can publish the config file with:

```
php artisan vendor:publish --tag="packager-config"
```

This is the contents of the published config file:

```
return [
    'default_skeleton' => 'spatie',
    'skeletons' => [
        'spatie' => [
            'url' => 'https://github.com/spatie/package-skeleton-laravel.git',
            'branch' => 'main',
            'runs' => [
                'php configure.php',
            ],
        ],
    ],
    'packages_directory' => 'packages',
];
```

If you want to add another skeleton, or create your custom skeleton and give package ability to initilize this inside your project, you will need to do the following:

1. Create a package skeleton github repository
2. Add new entry to *skeletons* list inside the published config
3. Modify *default\_skeletons* to reflect new skeleton name

Usage
-----

[](#usage)

```
php artisan make:package vendor-name/package-name
```

For example:

```
php artisan make:package acme/example
```

This command: Clones the Spatie skeleton (or your configured skeleton) to packages/acme/example.

Initializes a new Git repository, detaching it from the skeleton’s history.

Updates composer.json to include:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "./packages/acme/example",
            "options": {
                "symlink": true
            }
        }
    ],
    "require-dev": {
        "acme/example": "*"
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Nika Jorjoliani](https://github.com/RedberryProducts)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

3

Last Release

444d ago

PHP version history (2 changes)v1.0.0PHP ^8.4

v1.0.1PHP ^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/575834382d0d9a2f525665011b42db95bb50b6ed74e4a2dded51a3b77ac85873?d=identicon)[nikajorjika](/maintainers/nikajorjika)

---

Top Contributors

[![nikajorjika](https://avatars.githubusercontent.com/u/4212052?v=4)](https://github.com/nikajorjika "nikajorjika (33 commits)")

---

Tags

laravellaravel-packagerredberry

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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