PHP code example of sinarajabpour1998 / alpha-helper

1. Go to this page and download the library: Download sinarajabpour1998/alpha-helper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sinarajabpour1998 / alpha-helper example snippets



php artisan vendor:publish --tag=alpha-helper


return [
    'code' => 'ith exeptions code or valid codes for foreign national codes
First step for use this parameters is migrate, php artisan migrate, and save your exeptions in this table 
but if you want to use another table you can set your table and column
return [
    'code' => '

return [
    'code' => '    'code' => ['->validate([
    'code' => 'debit_card',
]);

-- OR --

You can add an optional parameter if you want to validate a card from a specific bank:
return [
    'code' => 'k-maskan (بانک مسکن)
 - postbank (پست بانک ایران)
 - ttbank (بانک توسعه تعاون)
 - enbank (بانک اقتصاد نوین)
 - parsian-bank (بانک پارسیان)
 - bpi (بانک پاسارگاد)
 - karafarinbank (بانک کارآفرین)
 - sb24 (بانک سامان)
 - sinabank (بانک سینا)
 - sbank (بانک سرمایه)
 - shahr-bank (بانک شهر)
 - bank-day (بانک دی)
 - bsi (بانک صادرات)
 - bankmellat (بانک ملت)
 - tejaratbank (بانک تجارت)
 - refah-bank (بانک رفاه)
 - ansarbank (بانک انصار)
 - mebank (بانک مهر اقتصاد)

return [
    'code' => '  'code' => ['->validate([
    'code' => 'postal_code',
]);

return [
    'code' => '  'code' => ['->validate([
    'code' => 'shenase_meli',
]);

return [
    'mobile' => ''mobile' => ['validate([
    'mobile' => 'mobile',
]);

return [
    'username' => 'sername' => ['lidate([
    'username' => 'username',
]);

return [
    'phone' => ' 'phone' => ['>validate([
    'phone' => 'phone',
]);

return [
    'code' => '  'code' => ['->validate([
    'code' => 'persian_alphabetic',
]);

return [
    'code' => '  'code' => ['->validate([
    'code' => 'persian_number',
]);

return [
    'address' => 'address' => ['alidate([
    'address' => 'address',
]);