承接 phix/validationlib 相关项目开发

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

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

phix/validationlib

Composer 安装命令:

composer require phix/validationlib

包简介

ValidationLib is a lightweight library of reusable data validation tools

README 文档

README

ValidationLib4 is a lightweight collection of classes for validating data. It is inspired by Zend_Validation, but put on a much-needed diet :)

System-Wide Installation

ValidationLib4 should be installed using the PEAR Installer. This installer is the PHP community's de-facto standard for installing PHP components.

sudo pear channel-discover pear.phix-project.org
sudo pear install --alldeps phix/ValidationLib4

As A Dependency On Your Component

If you are creating a component that relies on ValidationLib, please make sure that you add ValidationLib to your component's package.xml file:

<dependencies>
  <required>
    <package>
      <name>ValidationLib4</name>
      <channel>pear.phix-project.org</channel>
      <min>4.0.0</min>
      <max>4.999.9999</max>
    </package>
  </required>
</dependencies>

Usage

The best documentation for ValidationLib4 are the unit tests, which are shipped in the package. You will find them installed into your PEAR repository, which on Linux systems is normally /usr/share/php/test.

Development Environment

If you want to patch or enhance this component, you will need to create a suitable development environment. The easiest way to do that is to install phix4componentdev:

# phix4componentdev
sudo apt-get install php5-xdebug
sudo apt-get install php5-imagick
sudo pear channel-discover pear.phix-project.org
sudo pear -D auto_discover=1 install -Ba phix/phix4componentdev

You can then clone the git repository:

# ValidationLib4
git clone git://github.com/stuartherbert/ValidationLib.git

Then, install a local copy of this component's dependencies to complete the development environment:

# build vendor/ folder
phing build-vendor

To make life easier for you, common tasks (such as running unit tests, generating code review analytics, and creating the PEAR package) have been automated using phing. You'll find the automated steps inside the build.xml file that ships with the component.

Run the command 'phing' in the component's top-level folder to see the full list of available automated tasks.

License

See LICENSE.txt for full license details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固