Official PHP SDK for the Leadping API.

Maintainers

Package info

github.com/leadpingai/leadping-php

Homepage

pkg:composer/leadpingai/sdk

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-06-26 16:28 UTC

This package is auto-updated.

Last update: 2026-06-26 16:29:46 UTC


README

Type-safe PHP client for the Leadping API.

Install

composer require leadpingai/sdk

The generated client uses a Kiota request adapter. Install the Kiota bundle in the application that will call Leadping:

composer require microsoft/kiota-bundle:^2.0.2

Use

<?php

use Leadping\OpenApiClient\LeadpingOpenApiClient;

$adapter = createLeadpingRequestAdapter();
$client = new LeadpingOpenApiClient($adapter);

$me = $client->users()->me()->get()->wait();

createLeadpingRequestAdapter is application code. Configure it to send one of:

  • Authorization: Bearer <token>
  • X-Leadping-Api-Key: <key>

The client defaults to https://api.leadping.ai when the adapter does not already have a base URL.

Links