承接 agenciaecode/types 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

agenciaecode/types

最新稳定版本:v3.0.11

Composer 安装命令:

composer require agenciaecode/types

包简介

Common types for clean code PHP projects.

README 文档

README

Requirements

  • PHP ^8.1

Installation

To install this module, run the following command in your terminal:

composer require agenciaecode/types

Basic usage

$email = Email::from('email@domain.com');
echo $email->getHiddenFormat(); // Output: e***l@d********m

Common methods

Most type have at least the following common methods:

 - public static function from(...$args)
 - public static function tryFrom(...$args)
 - public static function innFrom(...$args)
 - public static function isValid(...$args)
 - public function equals($value)
 - public function getValue(...$args)
 - public function __toString(...$args)

Available Types

  • Address
  • Arr
  • Boolean
  • Byte
  • Centimeter
  • Cnpj
  • Cpf
  • Domain
  • Email
  • Gram
  • Gigabyte
  • Ip
  • Kilobyte
  • Kilogram
  • Megabyte
  • Money
  • Numeric
  • Ounce
  • Password
  • Path
  • PhoneNumber
  • Pound
  • PostalCode
  • Slug
  • Str
  • Url
  • Uuid

Coming soon

  • CreditCard
  • Duration
  • Foot
  • Hour
  • Kilometer
  • Meter
  • Minute
  • Percent
  • Second
  • Temperature

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固