abdelrahmanbadr / pipl-laravel
Pipl Laravel Package
v2.0.1
2019-11-17 02:02 UTC
Requires
- guzzlehttp/guzzle: ~6.0
- vlucas/phpdotenv: ^4.0@dev
Requires (Dev)
- illuminate/support: ^5.4
- mockery/mockery: ^1.2
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-19 06:19:39 UTC
README
A Laravel Pckage connecting your application to pipl api
Installation
Laravel Pipl API supports Laravel 5.5 and higher.
Package
Require via composer
-
composer require abdelrahmanbadr/pipl-laravel
-
In your .env file set Pipl API key in PIPL_API_KEY
-
In your .env file set PIPL_API_BASE_URL (optional and the default url is http://api.pipl.com/search/)
Usage:
- you can path the search feilds as array of keys and values of person data
- Example: Pipl::search(['first_name'=> 'john', 'last_name'=>'doe', 'email'=>'example@example.com']);
Getting Started & Code Snippets
Pipl's Search API
- Getting started - https://pipl.com/dev/guide/getting_started
- Code snippets - https://pipl.com/dev/guide/code_snippets
- Full reference - https://pipl.com/dev/reference
Running Unit tests:
$ ./vendor/bin/phpunit