akaramires / laravel-fullcontact-api by akaramires

Laravel FullContact
35,868
0
3
Package Data
Maintainer Username: akaramires
Maintainer Contact: e.abdurayimov@gmail.com (Elmar Abdurayimov)
Package Create Date: 2016-01-19
Package Last Update: 2017-11-09
Language: PHP
License: MIT
Last Refreshed: 2024-12-12 15:04:13
Package Statistics
Total Downloads: 35,868
Monthly Downloads: 10
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 7
Total Open Issues: 0

Laravel 5 FullContact API

  • In your .env file set FullContact API key in FULLCONTACT_API_KEY
  • [php artisan vendor:publish --provider="Akaramires\FullContact\FullContactServiceProvider"]
  • In your app/config/app.php add provider:
    • 'Akaramires\FullContact\FullContactServiceProvider'
  • In your app/config/app.php add alias:
    • 'FullContact' => Akaramires\FullContact\FullContactFacade::class,

Usage:

Lookup by email: * $person = FullContact::lookupByEmail( 'shawn@mantelope.io' );

Lookup by phone: * $person = FullContact::lookupByPhone( '123-456-7890' );

Lookup by Twitter: * $person = FullContact::lookupByTwitter( 'MantelopeMusk' );

Lookup by Facebook: & $person = FullContact::lookupByFacebook( 'mike-corkum' ,'US' ); * countryCode parameter defaults to US if not provided *

Account Stats: & $stats = FullContact::accountStats( '2012-08' ); * Period parameter is optional *