f-liva/eloquent-merge-select
最新稳定版本:v1.0.0
Composer 安装命令:
composer require f-liva/eloquent-merge-select
包简介
Append selects to the existing ones exposing mergeSelect to the Eloquent Query Builder
README 文档
README
Add additional select columns to Eloquent queries without removing those already present.
Installation
You can install the package via composer:
composer require f-liva/eloquent-merge-select
Usage
User::query() ->select(['id', 'name']) ->mergeSelect(['email', 'created_at']) ->get(); // select `id`, `name`, `email`, `created_at` from `users`
Testing
composer pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-27