| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 17 | All time:  11,405 This week: 660 | ||||
| Version | License | PHP version | Categories | |||
| php-turkiye-regex 1.0 | Custom (specified... | 5 | PHP 5, Validation | 
| Description | Author  | |
This package is specific mainly for applications used in Turkey  
  .This class can validate the values of people with regular expressions.  | 
Türkiye formatlar?na uygun Regex kütüphanesi.
use IsaEken\TurkiyeRegex\TurkiyeRegex;
TurkiyeRegex::CellPhone("05231231212");
TurkiyeRegex::Phone("01231231212");
TurkiyeRegex::TaxNumber("1234567890");
Paketi composer kullanarak kurabilirsiniz.
composer require isaeken/php-turkiye-regex
`interface IsaEken\TurkiyeRegex\Interfaces\Validator\Interface``validate(string|array $validate): bool`Girilen string veya string[] de?erlerini kulland???n?z s?n?fta do?rulamas?n? yapar.
use IsaEken\TurkiyeRegex\TurkiyeRegex;
TurkiyeRegex::CellPhone(["05231231212", "05231231212"]); // true
TurkiyeRegex::Phone("01231231212"); // true
TurkiyeRegex::Identity("1234567890"); // false
TurkiyeRegex::TaxNumber("1234567890"); // true
TurkiyeRegex::CreditCard("1111222233334444"); // true
TurkiyeRegex::CarPlate("34A2344"); // true
TurkiyeRegex::Date("10.04.2002"); // true
// alias
TurkiyeRegex::CellPhoneNumber("05231231212"); // true
TurkiyeRegex::PhoneNumber("01231231212"); // true
TurkiyeRegex::IdentityNumber("1234567890"); // false
TurkiyeRegex::Tax("1234567890"); // true
TurkiyeRegex::CreditCardNumber("1111222233334444"); // true
TurkiyeRegex::Plate("34A2344"); // true
TurkiyeRegex::BirthDate("10.04.2002"); // true
composer test
The MIT License (MIT). Please see License File for more information.
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | src | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
| / | src | / | Validators | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| / | tests | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.