akaramires / laravel-fullcontact
Laravel FullContact
Installs: 35 868
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 7
Open Issues: 0
Requires
- php: >= 5.4
- guzzlehttp/guzzle: 6.*
Requires (Dev)
- illuminate/support: ~5.0|~5.1
This package is auto-updated.
Last update: 2024-12-24 18:13:44 UTC
README
- 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 *