PHPackages                             michael-rubel/laravel-package-template - 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. michael-rubel/laravel-package-template

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

michael-rubel/laravel-package-template
======================================

It is an example template for Laravel packages. Fill or change it the way you like.

1.0(3y ago)15MITPHPPHP ^8.0|^8.1

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/michael-rubel/laravel-package-template)[ Packagist](https://packagist.org/packages/michael-rubel/laravel-package-template)[ Docs](https://github.com/michael-rubel/laravel-package-template)[ Fund](https://paypal.me/observername)[ RSS](/packages/michael-rubel-laravel-package-template/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

Laravel Package Template
========================

[](#laravel-package-template)

[![tests](https://github.com/michael-rubel/laravel-package-template/actions/workflows/tests.yml/badge.svg)](https://github.com/michael-rubel/laravel-package-template/actions/workflows/tests.yml)[![infection](https://github.com/michael-rubel/laravel-package-template/actions/workflows/infection.yml/badge.svg)](https://github.com/michael-rubel/laravel-package-template/actions/workflows/infection.yml)[![backward-compat](https://github.com/michael-rubel/laravel-package-template/actions/workflows/backward-compat.yml/badge.svg)](https://github.com/michael-rubel/laravel-package-template/actions/workflows/backward-compat.yml)[![phpstan](https://github.com/michael-rubel/laravel-package-template/actions/workflows/phpstan.yml/badge.svg)](https://github.com/michael-rubel/laravel-package-template/actions/workflows/phpstan.yml)

It's a ready-to-use template for Laravel packages.

### What's inside

[](#whats-inside)

- Skeleton with Service Provider and configuration file
- `Laravel Package Tools` by Spatie for easier package configuration
- Ready-to-use GitHub Action scripts for testing &amp; code quality checks

Fulfill or change it the way you like.

---

The package requires PHP `8` or higher and Laravel `9` or higher.

\#StandWithUkraine
------------------

[](#standwithukraine)

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)

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

[](#installation)

Install the package using composer:

```
composer require michael-rubel/laravel-package-template
```

Usage
-----

[](#usage)

```
// Your description.
```

Publish the config:

```
php artisan vendor:publish --tag="package-template-config"
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

1433d ago

Major Versions

0.1 → 1.02022-06-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c060c69332d50a7cb290529ad84a7f216dec94d59950db7446dc93208787083?d=identicon)[michael-rubel](/maintainers/michael-rubel)

---

Top Contributors

[![michael-rubel](https://avatars.githubusercontent.com/u/37669560?v=4)](https://github.com/michael-rubel "michael-rubel (58 commits)")

---

Tags

laravellaravel-packagephplaravelmichael-rubellaravel-package-template

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/michael-rubel-laravel-package-template/health.svg)

```
[![Health](https://phpackages.com/badges/michael-rubel-laravel-package-template/health.svg)](https://phpackages.com/packages/michael-rubel-laravel-package-template)
```

###  Alternatives

[michael-rubel/laravel-couponables

This package provides polymorphic coupon functionality for your Laravel application.

19590.7k1](/packages/michael-rubel-laravel-couponables)[michael-rubel/laravel-value-objects

It is an example template for Laravel packages. Fill or change it the way you like.

20136.8k2](/packages/michael-rubel-laravel-value-objects)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[michael-rubel/laravel-enhanced-container

This package provides DX tweaks for Service Container in Laravel.

88110.7k3](/packages/michael-rubel-laravel-enhanced-container)[michael-rubel/laravel-formatters

This package is a collection of classes you can use to standardize data formats in your Laravel application. It uses the Service Container to easily extend or override the formatter classes.

9491.6k4](/packages/michael-rubel-laravel-formatters)[michael-rubel/laravel-enhanced-pipeline

Laravel Pipeline with DB transaction support, events and additional methods.

5521.0k](/packages/michael-rubel-laravel-enhanced-pipeline)

PHPackages © 2026

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