定制 tumugin/stannum 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

tumugin/stannum

最新稳定版本:0.6.0

Composer 安装命令:

composer require tumugin/stannum

包简介

Stannum makes PHP's scalar types more expressive!

README 文档

README

phpcs(PSR12) CI Coverage Status

Stannum makes PHP's scalar types more expressive!

This project is under development. It is not recommended using in production.

Supported environments

Stannum supports and tested on PHP 7.4 or above.

Currently, Stannum is tested on the CI environment below.

  • PHP 7.4/8.0/8.1 on latest Windows
  • PHP 7.4/8.0/8.1 on latest Ubuntu(Linux)
  • PHP 7.4/8.0/8.1 on latest macOS

How to use

// Will return [1, 3, 5]
SnIntegerList::byIntArray([1, 2, 3, 4, 5, 6])
    ->filter(fn(SnInteger $val) => $val->isOdd())
    ->toIntArray();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-11