abdelrahmanbadr/pipl-laravel

v2.0.1 2019-11-17 02:02 UTC

This package is auto-updated.

Last update: 2024-03-19 04:46:04 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

Running Unit tests:

$ ./vendor/bin/phpunit