An open API service indexing awesome lists of open source software.

https://github.com/webman-tech/laravel-monorepo

laravel component for webman monorepo
https://github.com/webman-tech/laravel-monorepo

Last synced: 4 months ago
JSON representation

laravel component for webman monorepo

Awesome Lists containing this project

README

          

# webman-tech/laravel-monorepo

适用于 webman 的 laravel 组件的 monorepo 仓库,大版本随 laravel 的主版本号一致

## 安装

```bash
composer require webman-tech/laravel-monorepo
```

## 使用

参考各个组件的文档

## 组件列表

- [webman-tech/laravel-cache](./src/LaravelCache/README.md)
- [webman-tech/laravel-console](./src/LaravelConsole/README.md)
- [webman-tech/laravel-database](./src/LaravelDatabase/README.md)
- [webman-tech/laravel-filesystem](./src/LaravelFilesystem/README.md)
- [webman-tech/laravel-http](./src/LaravelHttp/README.md)
- [webman-tech/laravel-process](./src/LaravelProcess/README.md)
- [webman-tech/laravel-redis](./src/LaravelRedis/README.md)
- [webman-tech/laravel-translation](./src/LaravelTranslation/README.md)
- [webman-tech/laravel-validation](./src/LaravelValidation/README.md)

## 目录结构

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

## remark

- 11.x 12.x 是啥

与 laravel 的主版本保持一致

- 开发时如何从 11.x 升级为 12.x

使用脚本:`php scripts/upgrade_laravel_version.php 11 12`