bafs/illuminate-light-collections 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bafs/illuminate-light-collections

Composer 安装命令:

composer require bafs/illuminate-light-collections

包简介

Illuminate collection, without hundreds of Illuminate contracts

README 文档

README

This package provides Illuminate Collections minus hundreds of contracts from Illuminate\Contracts that are not used by this library.

This library can be used for external libraries or projects that don't depend on Laravel framework.

Install

composer req bafs/illuminate-light-collections

Why?

Illuminate collections is a handy library to work will collections, but it requires illuminate/contracts which provides hundreds of contracts from the Illuminate framework and that are not useful when working outside the Laravel ecosystem. Only 3 contracts are used by Collections (Arrayable, CanBeEscapedWhenCastToString, Jsonable).

I don't like monkey patching, can I remove it too?

Yes, it's also possible to disable the monkey patching from the Macroable library (illuminate/macroable). To do so, use the Demacroable package (bafs/illuminate-demacroable) in your project (it will replace the Macroable trait with an empty one).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固