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(4y ago)15MITPHPPHP ^8.0|^8.1CI failing

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 today

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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

1484d 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

[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)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

94135.4k5](/packages/marcelweidum-filament-expiration-notice)[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)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

197.8k15](/packages/wsmallnews-filament-nestedset)

PHPackages © 2026

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