定制 m-j-smith/laravel-ci-config 二次开发

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

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

m-j-smith/laravel-ci-config

Composer 安装命令:

composer require m-j-smith/laravel-ci-config

包简介

A minimal GitHub Actions CI setup for Laravel projects.

README 文档

README

A minimal GitHub Actions CI setup for Laravel projects.

What's included

  • Test runner via php artisan test using SQLite in-memory database (MySQL service not required). Compatible with both Pest and PHPUnit.

  • Laravel Pint code style check using the laravel preset.

  • Separate jobs so tests and style report independently.

Required Project Config

  • PHP 8.2+
  • Laravel 12+

.env.example

Ensure your .env.example includes:

APP_KEY=
DB_CONNECTION=sqlite
DB_DATABASE=:memory:

phpunit.xml

Ensure the following are uncommented in the <php> section:

<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>

Installation

  1. Install the package via Composer into your development dependencies:
composer require m-j-smith/laravel-ci-config --dev
  1. Install the GitHub Actions CI workflow and Pint config into your project:
php artisan ci:install

This will add the following files to your project:

.github/
└── workflows/
    └── ci.yml
pint.json

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固