Download the PHP package inkusu/validation without Composer

On this page you can find all versions of the php package inkusu/validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package validation

検証ライブラリ

汎用的な検証用のルールとそれを管理するための機能を提供します。

サンプル

基本

DSL風

required($message = 'が入力されていません。')

値か設定されていることを検証する。 nullか文字列なら空文字でないか配列なら要素があるかで判定する。

numeric($message = 'の値が数値ではありません。')

値が数値のみであることを検証する(16進数, 10進数, 8進数, 2進数, 浮動少数, 整数)

degit($message = 'の値が数値ではありません。')

値が数値のみであることを検証する(10進数)

alpha($message = 'の値が半角英字のみではありません。')

値がアルファベットのみであることを検証する

alphaNumeric($message = 'の値が半角英数字のみではありません。')

値がアルファベットと数値のみであることを検証する

tel($message = 'の書式が正しくありません。')

電話番号であることを検証する。

email($message = 'の書式が正しくありません。')

メールアドレスであることを確認する

ip($message = 'の値は正しいIPではありません。')

IPアドレスであることを検証する

url($message = 'の値は正しいURLではありません。')

urlであることを検証する

dateFormat($message = '日付の書式が正しくありません。')

値が日付であることを検証する

same($target, $message = 'は同じではありません。')

指定した値と等しいか検証する。

zenkaku($message = 'に全角文字以外が含まれています。')

値が全角文字であることを検証する

hiragana($message = 'にひらがな以外が含まれています。')

値が全角ひらがなであることを確認する

length($operator, $len, $message = '', $encoding = 'UTF-8')

値の長さを検証する

tokenIOS($message = 'IOSのデバイストークンが不正です。')

デバイストークンチェック(IOS)

tokenAndroid($message = 'Androidのデバイストークンが不正です。')

デバイストークンチェック (Android)

custom($callback, $message)

独自関数を定義して登録することも可能。

無名関数による登録

名前付き関数による登録


All versions of validation with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package inkusu/validation contains the following files

Loading the files please wait ....