定制 motomedialab/boilerplate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

motomedialab/boilerplate

Composer 安装命令:

composer require motomedialab/boilerplate

包简介

Boilerplate setup

README 文档

README

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

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:

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

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

It'll install the following node packages:

  • prettier
  • prettier-plugin-blade
  • prettier-plugin-tailwindcss

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

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"

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固