megaads/phonenumber-converter

Công cụ chuyển đổi số điện thoại từ 11 số thành 10 số cho laravel 4

v1.0.2 2018-11-08 08:06 UTC

This package is not auto-updated.

Last update: 2024-12-05 08:59:36 UTC


README

vd: 0165 -> 035, 0120 -> 070, ...

Installation:

add in file composer.json

"require": {
	"megaads/phonenumber-converter": "^1.0"
}

Usage:

Register Provider

# /Config/app.php
'providers' => [
    Megaads\PhonenumberConverter\PhonenumberConverterServiceProvider
];

# /Config/phone_number_converter.php:
return [
    'tables' => [
        'table1' => ['column1_contain_phone_number', 'column2_contain_phone_number',...],
        'table2' => ['column1_contain_phone_number', 'column2_contain_phone_number',...]
    ]
];
Go http://domain/package/phonenumber-converter