Download the PHP package gudevindy/checkaccname without Composer
On this page you can find all versions of the php package gudevindy/checkaccname. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gudevindy/checkaccname
More information about gudevindy/checkaccname
Files in gudevindy/checkaccname
Download gudevindy/checkaccname
More information about gudevindy/checkaccname
Files in gudevindy/checkaccname
Vendor gudevindy
Package checkaccname
Short Description Official PHP client for Check AccName — Thai bank account name inquiry API (check.gudevindy.com)
License MIT
Homepage https://check.gudevindy.com
Package checkaccname
Short Description Official PHP client for Check AccName — Thai bank account name inquiry API (check.gudevindy.com)
License MIT
Homepage https://check.gudevindy.com
Please rate this library. Is it a good library?
Informations about the package checkaccname
Check AccName · PHP Client
PHP SDK สำหรับเรียกใช้ Check AccName API — ตรวจสอบชื่อเจ้าของบัญชีธนาคารจากเลขบัญชี · รองรับทุกธนาคารในไทย
Use cases: ระบบประมูล · ระบบ Affiliate · ระบบถอนเงิน · ป้องกันสมัครซ้ำ · KYC
Features
- ✅ ตรวจสอบชื่อเจ้าของบัญชี (PromptPay + ORFT) ทุกธนาคารในไทย
- ✅ แยกคำนำหน้า / ชื่อ / นามสกุลอัตโนมัติ + รองรับนิติบุคคล
- ✅ Type-safe DTO (typed properties)
- ✅ Exception hierarchy แยกประเภท Auth / RateLimit / Inquiry / Network
- ✅ Zero deps · ใช้แค่ ext-curl + ext-json
- ✅ MIT License
Requirements
- PHP 8.0+
- ext-curl, ext-json
- Bearer token (ขอฟรีที่ https://check.gudevindy.com — login ด้วย LINE)
Install
Quick Start
Get a Token
- ไปที่ https://check.gudevindy.com
- กด Login with LINE
- หน้า Dashboard → คัดลอก API Token
- แผน Free 20 ครั้ง/วัน · Starter 50/วัน · Enterprise 2,000/วัน
API
new Client(string $token, array $options = [])
| Option | Type | Default | คำอธิบาย |
|---|---|---|---|
baseUrl |
string | https://check.gudevindy.com |
override สำหรับ test/staging |
timeout |
int | 15 |
cURL timeout (วินาที) |
sslVerify |
bool | true |
verify peer cert (production = true เสมอ) |
inquiry(string $bankCode, string $accountNo): InquiryResult
ตรวจสอบชื่อเจ้าของบัญชี · ค่า return เป็น InquiryResult (readonly DTO)
Error Handling
ทุก exception มี:
$e->getMessage()— ข้อความ error$e->httpStatus— HTTP status code (int)$e->responseBody— raw decoded JSON response (debug)
รหัสธนาคารที่ใช้บ่อย
| Code | ตัวย่อ | ธนาคาร |
|---|---|---|
002 |
BBL | กรุงเทพ |
004 |
KBANK | กสิกรไทย |
006 |
KTB | กรุงไทย |
011 |
TTB | ทหารไทยธนชาต |
014 |
SCB | ไทยพาณิชย์ |
025 |
BAY | กรุงศรีอยุธยา |
030 |
GSB | ออมสิน |
ดูรายการเต็ม → https://check.gudevindy.com/banklist
Example
Demo
ลองตัวอย่างระบบสมัครสมาชิกที่ใช้ SDK ตัวนี้: 👉 https://demo.gudevindy.com
Security
- Token = Bearer JWT — เก็บใน
.envหรือ secret manager เท่านั้น อย่า commit ลง repo - เรียก API จาก backend (ไม่ส่ง token ไป browser)
- Validate
bankCode+accountNoก่อนเรียก API - ใช้ HTTPS เสมอ (
sslVerify=truedefault)
Links
- 🌐 Service: https://check.gudevindy.com
- 📖 API Docs: https://check.gudevindy.com/docs
- 🧪 Demo (PHP): https://demo.gudevindy.com
- 🐛 Issues: https://github.com/gudevindy/checkaccname-php/issues
License
MIT — see LICENSE
All versions of checkaccname with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package gudevindy/checkaccname contains the following files
Loading the files please wait ...