PHPackages                             matthewbdaly/laravel-package-boilerplate - 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. matthewbdaly/laravel-package-boilerplate

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

matthewbdaly/laravel-package-boilerplate
========================================

Starting boilerplate for Laravel packages. Override the content in here when creating your own package

1.5.3(3y ago)172642MITPHP

Since Dec 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/matthewbdaly/laravel-package-boilerplate)[ Packagist](https://packagist.org/packages/matthewbdaly/laravel-package-boilerplate)[ RSS](/packages/matthewbdaly-laravel-package-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (12)Versions (35)Used By (0)

laravel-package-boilerplate
===========================

[](#laravel-package-boilerplate)

Boilerplate for Laravel packages. Use it as a starting point for your own Laravel packages.

Includes PHPUnit and PHPCodeSniffer configuration, as well as a known good Travis CI configuration and a couple of base test cases. Uses `orchestra/testbench` as the basis of the provided base test.

Also includes my [Artisan Standalone](https://github.com/matthewbdaly/artisan-standalone) package as a development dependency. As a result, you should be able to run Artisan commands as follows:

```
vendor/bin/artisan make:model Example
```

How do I use it?
----------------

[](#how-do-i-use-it)

###### Step 1

[](#step-1)

```
composer create-project matthewbdaly/laravel-package-boilerplate
```

This will generate a starting boilerplate for your app.

###### Step 2

[](#step-2)

You'll want to update your `composer.json` with your required namespace and other details - you can do this by running

```
 vendor/bin/artisan app:name InsertYourProjectNameHere
```

Test cases
----------

[](#test-cases)

The package includes three test cases:

- `TestCase` - Effectively the normal Laravel test case. Use it the same way you would your normal Laravel test case
- `SimpleTestCase` - Extends the default PHPUnit test case, so it doesn't set up a Laravel application, making it quicker and well-suited to properly isolated unit tests
- `BrowserKitTestCase` - Sets up BrowserKit

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% 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 ~58 days

Recently: every ~1 days

Total

34

Last Release

1241d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a596e5052494181ddc20aedefbebef191cc81008e320df098608c54a1dea7350?d=identicon)[matthewbdaly](/maintainers/matthewbdaly)

---

Top Contributors

[![matthewbdaly](https://avatars.githubusercontent.com/u/450801?v=4)](https://github.com/matthewbdaly "matthewbdaly (63 commits)")[![ahosker](https://avatars.githubusercontent.com/u/346166?v=4)](https://github.com/ahosker "ahosker (2 commits)")

---

Tags

laravellumenphplaravellumen

###  Code Quality

TestsPest

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matthewbdaly-laravel-package-boilerplate/health.svg)

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

###  Alternatives

[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

98112.9k](/packages/laracrafts-laravel-url-shortener)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1013.0k](/packages/proai-lumen-annotations)

PHPackages © 2026

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