Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/megaads-vn/phonenumber-converter
The tool to convert phone number in database
https://github.com/megaads-vn/phonenumber-converter
Last synced: 10 days ago
JSON representation
The tool to convert phone number in database
- Host: GitHub
- URL: https://github.com/megaads-vn/phonenumber-converter
- Owner: megaads-vn
- Created: 2018-10-19T03:45:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T09:55:53.000Z (almost 5 years ago)
- Last Synced: 2024-11-22T17:15:18.662Z (about 2 months ago)
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phone number converter for Laravel 4
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
```