New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

webman-tech/laravel-monorepo

laravel component for webman monorepo
4,494 2
Install
composer require webman-tech/laravel-monorepo
Latest Version:v13.0.0
PHP:^8.3
Laravel:13
Older releases:11 · 12
License:MIT
Last Updated:Nov 18, 2026
Links: GitHub  ·  Packagist
Maintainer: kriss

webman-tech/laravel-monorepo

laravel 组件的 monorepo 仓库,大版本随 laravel 的主版本号一致(当前 13.x,要求 PHP >= 8.3)。

开发约定与常用命令见 AGENTS.md。

框架支持

所有组件均可运行在 webman(第一支持优先级) 与非 webman(自研框架 / 标准 PHP 应用)环境下。

通用接入模式:宿主启动时通过 webman-tech/common-utils 的 RuntimeCustomRegister 注册运行时能力 (容器、配置、日志、请求、定时器等),再将 db / redis 等 Manager 绑进容器即可。 完整示例见 e2e/plain-src(一个最小非 webman 宿主应用,随 e2e 测试自动安装运行,命令 composer e2e:test)。

安装

composer require webman-tech/laravel-monorepo

使用

参考各个组件的文档

组件列表

目录结构

  • src: 各个组件目录
  • scripts: 辅助 monorepo 的一些常用脚本
  • tests: 测试目录
    • Fixtures: 测试数据,按照各个组件的目录
    • Unit: 单元测试
      • Facades: 基本对应每个组件的 facade 入口
    • webman: 用于单元测试的一个 webman 极小项目结构
  • e2e: 端到端测试

remark

  • 11.x 12.x 13.x 是啥

与 laravel 的主版本保持一致

  • 开发时如何从 12.x 升级为 13.x

使用脚本:php scripts/upgrade_laravel_version.php 12 13

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

665,354,487 9,703
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

539,265,140 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

458,029,405 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

424,642,029 4,662

Version History

Version Released PHP Laravel License
v13.0.0 ^8.3 ^13.0 MIT
v12.0.14 ^8.2 ^12.0 MIT
v12.0.13 ^8.2 ^12.0 MIT
v12.0.12 ^8.2 ^12.0 MIT
v12.0.11 ^8.2 ^12.0 MIT