| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | 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.
|  Files (17) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  src (1 file, 2 directories) | ||||
|  tests (2 files) | ||||
|  composer.json | Data | Auxiliary data | ||
|  LICENSE.md | Lic. | License text | ||
|  phpunit.xml.dist | Data | Auxiliary data | ||
|  README.md | Doc. | Documentation | ||
|  Files (17) | / | src | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Interfaces (1 file) | ||||
|  Validators (9 files) | ||||
|  TurkiyeRegex.php | Class | Class source | ||
|  Files (17) | / | src | / | Validators | 
| File | Role | Description | 
|---|---|---|
|  CarPlate.php | Class | Class source | 
|  CellPhone.php | Class | Class source | 
|  CreditCard.php | Class | Class source | 
|  Date.php | Class | Class source | 
|  Identity.php | Class | Class source | 
|  Phone.php | Class | Class source | 
|  TaxNumber.php | Class | Class source | 
|  TcKimlikNo.php | Class | Class source | 
|  Validator.php | Class | Class source | 
|  Files (17) | / | tests | 
| File | Role | Description | 
|---|---|---|
|  FactoryTest.php | Class | Class source | 
|  ValidatorTest.php | 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. | 
|  Install with Composer | 
| 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.
 If you know an application of this package, send a message to the author to add a link here.