Find your answer in our knowledge base

Official Tomba API client for php 🐘

Tomba developer SDK for php - pull requests welcome.

Purpose?

Find and verify the email of an individual given a name and domain or a company.

Additional functions:

  • Check the account status.
  • Checking how many request left.
  • Checking domain information .
  • Email Verifier.
  • Email Finder.
  • Email Sources.
  • List all your leads.
  • Lead Attributes.
  • domain autocomplete.
  • Checking List all your keys.
  • Usage.
  • Account Logs.
  • Email Count..

Installation

To install via Composer:

composer require tomba-io/php

Usage

Domain Search

get email addresses found on the internet.

<?php

use Tomba\Client;
use Tomba\Services\Domain;

$client = new Client();

$client
    ->setKey('ta_xxxx') // Your API Key
    ->setSecret('ts_xxxx') // Your Secret
;

$domain = new Domain($client);

$result = $domain->domainSearch('stripe.com');

Email Finder

Find the verified email address of any professional.

<?php

use Tomba\Client;
use Tomba\Services\Finder;

$client = new Client();

$client
    ->setKey('ta_xxxx') // Your API Key
    ->setSecret('ts_xxxx') // Your Secret
;

$finder = new Finder($client);

$result = $finder->emailFinder('stripe.com', 'fname', 'lname');.

Email Verifier

Verify the validity of any professional email address with the most complete email checker.

<?php

use Tomba\Client;
use Tomba\Services\Verifier;

$client = new Client();

$client
    ->setKey('ta_xxxx') // Your API Key
    ->setSecret('ts_xxxx') // Your Secret
;

$verifier = new Verifier($client);

$result = $verifier->emailVerifier('b.mohamed@tomba.io');

Examples

Sample codes under examples/ folder.

Documentation

See the official documentation.

Other Libraries

There are official Tomba Email Finder client libraries available for many languages including PHP, Python, Go, Java, Ruby, and many popular frameworks such as Django, Rails and Laravel. There are also many third party libraries and integrations available for our API.

Get started here: Official Tomba API client for php

Still have questions?

If you have any issues or questions about Tomba, feel free to contact us, we will be happy to help you!