承接 ph-7/datatype 相关项目开发

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

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

ph-7/datatype

最新稳定版本:v1.0.2

Composer 安装命令:

composer require ph-7/datatype

包简介

List of the available PHP data types, nicely stored into readable constant names

README 文档

README

Get all valid PHP type names with constants

📄 Overview

Simple library containing the list of constants for the available PHP data types. Use those constant types in your project when you need to mention a data type, use those constants instead of hardcoding them.

⚙️ Requirements

⚙️ Installation

Install it easily with Composer

composer require ph-7/datatype

🤠 Example

require_once __DIR__ . '/vendor/autoload.php';

use PH7\Datatype\Type;

$id = settype($_GET['id'], Type::STRING);

$name = settype($inputName, Type::STRING);

😋 Who cooked it?

Pierre-Henry Soria

Pierre-Henry Soria, a highly passionate, zen & pragmatic software engineer 😊

@phenrysay pH-7

📺 The Video

Watch the video

👉 Watch on YouTube 👈

⚖️ License

PHP type names is generously distributed under the MIT.

统计信息

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

GitHub 信息

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

其他信息

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