PHPackages                             motomedialab/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. motomedialab/boilerplate

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

motomedialab/boilerplate
========================

Boilerplate setup

0.1.1(2w ago)09↓100%MITPHP

Since May 22Pushed 2w agoCompare

[ Source](https://github.com/motomedialab/boilerplate)[ Packagist](https://packagist.org/packages/motomedialab/boilerplate)[ RSS](/packages/motomedialab-boilerplate/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (1)Used By (0)

MotoMediaLab Boilerplate
========================

[](#motomedialab-boilerplate)

This is a boilerplate to be installed on a Laravel project. It enforces coding standards and sets up code analysis and formatting tools automatically.

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

[](#installation)

Install the package as a development dependency in your Laravel project:

```
composer require --dev motomedialab/boilerplate
```

Important

This package **must** be installed in the `require-dev` block. If you attempt to install it in `require`, the installation will fail to prevent deployment of dev tools to production.

### What happens automatically on install:

[](#what-happens-automatically-on-install)

When you install the package, it hooks into Laravel's package discovery to automatically:

1. Copy formatting and analysis configuration stubs to your project root.
2. Inject formatting scripts (`format`, `check`, and `preflight`) into your `package.json`.
3. Install frontend styling and formatting node packages via npm.

PHP Packages
------------

[](#php-packages)

It'll install the following packages for development:

- `driftingly/rector-laravel` - Rector code formatting
- `larastan/larastan` - PHP static analysis
- `laravel/pao` - Simplified output for AI testing
- `laravel/pint` - Code formatting for PSR12 standards

JavaScript packages
-------------------

[](#javascript-packages)

It'll install the following node packages:

- `prettier`
- `prettier-plugin-blade`
- `prettier-plugin-tailwindcss`

Stubs
-----

[](#stubs)

It'll copy the following stubs into your project:

- `stubs/phpstan.neon` to the root of your project
- `stubs/rector.php` to the root of your project
- `stubs/pint.json` to the root of your project
- `stubs/.prettierignore` to the root of your project
- `stubs/.prettierrc.json` to the root of your project

Installed npm functions
-----------------------

[](#installed-npm-functions)

It'll install the following commands in your `package.json`:

```
"format": "npx prettier --write resources",
"check": "npx prettier --check resources",
"preflight": "npm run format && ./vendor/bin/rector && ./vendor/bin/phpstan --memory-limit=2G && ./vendor/bin/pint --parallel && ./vendor/bin/pest --parallel"

```

###  Health Score

33

—

LowBetter than 73% of packages

Maintenance96

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

18d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2487374?v=4)[Chris Page](/maintainers/chrispage1)[@chrispage1](https://github.com/chrispage1)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/motomedialab-boilerplate/health.svg)

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

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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