Skip to content

venturedrake/laravel-fullcontact-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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( '[email protected]' );

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 *

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%