laravel-http maintained by webman-tech
Last update
2026/11/18 09:42
License
Require
- php ^8.3
- illuminate/events ^13.0
- illuminate/http ^13.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2026/11/18 09:42
License
Require
- php ^8.3
- illuminate/events ^13.0
- illuminate/http ^13.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/27 12:30
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/27 12:30
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/27 12:30
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/27 12:30
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/27 12:30
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/11/24 07:14
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
- webman-tech/common-utils ^5.0 || dev-main
Last update
2025/10/31 06:53
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/10/10 11:54
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/07/22 07:47
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/07/22 07:47
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/07/22 07:47
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/07/22 07:47
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/06/06 11:43
License
Require
- php ^8.2
- illuminate/events ^11.0
- illuminate/http ^11.0
Last update
2025/06/06 11:43
License
Require
- php ^8.2
- illuminate/events ^11.0
- illuminate/http ^11.0
Last update
2025/06/04 05:17
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/06/04 05:17
License
Require
- php ^8.2
- illuminate/events ^12.0
- illuminate/http ^12.0
Last update
2025/06/04 04:20
License
Require
- php ^8.2
- illuminate/events ^11.0
- illuminate/http ^11.0
webman-tech/laravel-http
Split from webman-tech/laravel-monorepo
适用于 webman 的 Laravel HTTP 组件,基于 illuminate/http 实现。
安装
composer require webman-tech/laravel-http
简介
该组件将 Laravel 强大的 HTTP 功能引入 webman 框架中,包括 HTTP 客户端、Request 对象和上传文件处理。
所有方法和配置与 Laravel 几乎一致,因此使用方式可完全参考 Laravel HTTP Client 文档 和 Laravel Requests 文档。
特殊使用说明
1. Facades 使用方式
- 使用
WebmanTech\LaravelHttp\Facades\Http替代Illuminate\Support\Facades\Http - 使用
WebmanTech\LaravelHttp\Facades\LaravelRequest替代Illuminate\Support\Facades\Request - 使用
WebmanTech\LaravelHttp\Facades\LaravelUploadedFile来快速包装Webman\UploadedFile为Illuminate\Http\UploadedFile
2. 文件上传处理
use WebmanTech\LaravelHttp\Facades\LaravelUploadedFile;
// 包装 Webman 上传文件为 Laravel UploadedFile
$uploadedFile = LaravelUploadedFile::wrapper($request->file('avatar'));
// 现在可以使用 Laravel 的所有文件操作方法
$path = $uploadedFile->store('avatars');