PHP Classes

PHP Address Parser: Extract address and other contact types from text

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 184 All time: 8,670 This week: 206Up
Version License PHP version Categories
parse-contacts 1.0.0GNU General Publi...5PHP 5, Text processing, Parsers
Description 

Author

This package can extract addresses and other contact types from text.

It can take text data in different formats and user different types of parsers to extract addresses and other formats of contacts.

Currently it provides parsers that support formats like HCard, AB, Yandex data and plain text using regular expressions.

The package can extract location addresses, links, phone numbers, email addresses, etc..

Innovation Award
PHP Programming Innovation award nominee
May 2019
Number 9
Some applications need to extract addresses of people or businesses from information that is sent to them somehow. That information can be in a varied number of formats.

This package is able to parse several types of information formats to extract location addresses, links, phone numbers and email addresses from either like HCard, AB, Yandex data and plain text using regular expressions.

Manuel Lemos
Picture of Raskin Veniamin
  Performance   Level  
Name: Raskin Veniamin <contact>
Classes: 12 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 2207 in Russian Federation Russian Federation
Week rank: 10 Up2 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 6x

Winner: 1x

Documentation

yii2-parse-contacts

Parse contacts

-- add to config

    'modules' => [
    'vp' => [
        'class' => 'Vench\ParseContacts\Module',
    ]
]

    'bootstrap' =>  ['vp'],
    
    
    params => ['yandex']['apikey'] 

  Files folder image Files (18)  
File Role Description
Files folder imagecommands (1 file)
Files folder imageext (2 files)
Files folder imagemigrations (1 file)
Files folder imagemodels (4 files)
Files folder imageparsers (5 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Plain text file Module.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (18)  /  commands  
File Role Description
  Plain text file ParseSiteController.php Class Class source

  Files folder image Files (18)  /  ext  
File Role Description
  Accessible without login Plain text file hcard.profile.php Example Example script
  Plain text file hKit.php Class Class source

  Files folder image Files (18)  /  migrations  
File Role Description
  Plain text file m170804170821Make_schema.php Class Class source

  Files folder image Files (18)  /  models  
File Role Description
  Plain text file PCSite.php Class Class source
  Plain text file PCSiteAddress.php Class Class source
  Plain text file PCSiteEmail.php Class Class source
  Plain text file PCSitePhone.php Class Class source

  Files folder image Files (18)  /  parsers  
File Role Description
  Plain text file AbParser.php Class Class source
  Plain text file HCardParse.php Class Class source
  Plain text file PregMathParse.php Class Class source
  Accessible without login Plain text file test.php Aux. Auxiliary script
  Plain text file YandexParser.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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:184
This week:0
All time:8,670
This week:206Up