承接 aldorg/validater 相关项目开发

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

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

aldorg/validater

Composer 安装命令:

composer create-project aldorg/validater

包简介

Boilerplate package for creating other packages.

README 文档

README

create an validator library for projects on PHP, easy to implement.

Getting Started

This is a simple library to validate types of data, including numbers, emails, etc. You can copy this package from composer or via github.

Prerequisites

For download with composer or git, you need:

* Composer
* Git
* PHP

Installing

In your project folder run, once composer installed

Composer:

composer require aldorg/validater

GitHub:

https://github.com/AldoRG/validater.git

Code Examples

All methods needs the data type to validate and is going to return a boolean result, you can validate different types of data using the methods below:

Validater::validateEmail("name@example.com");

Available methods:

* validateBoolean
* validateEmail
* validateInteger
* validateArray
* validateNumeric
* validateString
* validateUrl
* validateAlpha
* validateAlphaNum
* validateDate

Running the tests

You can test this repository creating a new class in the Test folder, and using PHPUnit. Run your test cases using:

vendor/bin/phpunit

Built With

  • PHP - PHP language
  • Git - Version Control System
  • PHPUnit - Programmer-oriented testing framework for PHP

Contributing

Everyone can contributing to the library, ask me for the process for submitting pull requests to us.

Versioning

For the versions available, see the tags on this repository.

Authors

  • Aldo Ruiz - Initial work - AldoRG

See also the list of contributors who participated in this project.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2017-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固