gws/php-valueobjects 问题修复 & 功能扩展

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

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

gws/php-valueobjects

最新稳定版本:v0.4.0

Composer 安装命令:

composer require gws/php-valueobjects

包简介

A collection of useful value objects for PHP

README 文档

README

master branch build status

Overview

Wikipedia has a pretty good general explanation of value objects.

  • Vo\DateRange for date ranges
  • Vo\DateTimeRange for date and time ranges
  • Vo\Ip for IPv4 and IPv6 addresses
  • Vo\Mac for MAC addresses
  • Vo\Money for financial math and formatting using the intl extension

Check the tests to get some ideas on how to use these classes.

Documentation

http://gws.github.com/php-valueobjects

Development

There is a Dockerfile in the docker directory which can be used to build a version of PHP with the required extensions in order to run tests. If you have a Dockerized composer, you need to pass the --ignore-platform-reqs option to update, install etc. in order to skip the extension checks.

统计信息

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

GitHub 信息

  • Stars: 14
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2016-03-09