PHPackages                             analogbridge/analog-bridge-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. analogbridge/analog-bridge-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

analogbridge/analog-bridge-php
==============================

Analog Bridge PHP Library

1.0.0(9y ago)023MITPHP &gt;=5.4.0

Since Dec 13Compare

[ Source](https://github.com/analogbridge/analog-bridge-php)[ Packagist](https://packagist.org/packages/analogbridge/analog-bridge-php)[ Docs](https://analogbridge.io/)[ RSS](/packages/analogbridge-analog-bridge-php/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Analog Bridge
=============

[](#analog-bridge)

Analog Bridge is comprised of a JavaScript client and REST API which enables your users to import analog media directly into your app or website.

Full documentation at the [Analog Bridge docs](https://analogbridge.io/docs#php)

Installation
------------

[](#installation)

Install with composer:

```
composer require analogbridge/analog-bridge-php
```

Or download the source:

```
$ git clone https://github.com/analogbridge/analog-bridge-php.git
```

Configure
---------

[](#configure)

Once you have your API Keys from Analog Bridge, you can initialize your configuration with your `secret_key` as

```
$bridge = new \AnalogBridge\Customer("Your secret API Key");
```

Usage
-----

[](#usage)

### Customer

[](#customer)

#### Create Customer

[](#create-customer)

To create a new customer using the API, usage

```
$bridge = new \AnalogBridge\Customer("Your secret API Key");
$customer = $bridge->create([
    "email" => "demo@analogbridge.io",
    "shipping" => [
        "first_name" => "John",
        "last_name" => "Smith",
        "address1" => "3336 Commercial Ave",
        "city" => "Northbrook",
        "state" => "IL",
        "zip" => "60062",
        "phone" => "800-557-3508",
        "email" => "demo@analogbridge.io"
    ],
    "metadata" => [
        "user_id" => 123456
    ]
]);
```

#### Retrieve a Customer

[](#retrieve-a-customer)

We can easily retrieve a customer's details using their `customer_id`, for example to find a customer with details with id `cus_12345678`

```
$customer = $bridge->get("cus_12345678");
```

### Retrieve all customers

[](#retrieve-all-customers)

Analog Bridge provides an interface to retrieve all your customers very easily. To retrieve all of your customers, you can use

```
$customers = $bridge->all(["offset" => 100, "limit" => 100]);
```

#### Update a customer

[](#update-a-customer)

Update an existing customer's information by using the `cus_id` from customer creation. Any unprovided parameters will have no effect on the customer object. The arguments for this call are mainly the same as for the customer creation call.

```
$bridge->update("cus_12345678", [
            "email" => "new-email@analogbridge.io",
            "shipping" => [
                "address1" => "123 Main St.",
                "city" => "New York",
                "state" => "NY",
                "zip" => "12345"
            ]
        ]);
```

#### Delete a customer

[](#delete-a-customer)

If we need to delete a customer, for example id `cus_123456789`, then we can use

```
$bridge->delete("cus_123456789");
```

### Order

[](#order)

#### List all customer orders

[](#list-all-customer-orders)

The Analog Bridge API allow us to retrieve all orders by a specific `customer`. For example we want to retrieve all `orders` by customer id `cus_12345678`, we can use

```
$bridge = new \AnalogBridge\Order("Your secret API Key");
$order = $bridge->all("cus_3ab7aa6ec5feda6fe8a3");
```

#### List order details

[](#list-order-details)

If we need to retrieve the details for a specific order then we can use

```
$order = $bridge->get("cus_3ab7aa6ec5feda6fe8a3", "ord_fe310b878dc3313c3c2e");
```

#### Retrieve import ready orders

[](#retrieve-import-ready-orders)

Once customer orders have been processed and uploaded to our Cloud, they are import-ready for your system. To retrieve the list of import ready orders, we can use

```
$order = $bridge->import_ready();
```

### Listing Product

[](#listing-product)

To retrieve the `products` simply use the following interface

```
$bridge = new \AnalogBridge\Product();
$products = $bridge->all();
```

Contributing
------------

[](#contributing)

Bug reports and pull requests are welcome on GitHub at . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

License
-------

[](#license)

This package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3486d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15716331?v=4)[memorable](/maintainers/memorable)[@memorable](https://github.com/memorable)

---

Tags

analogphoto scanning apivideo transfer apifilm transfer api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/analogbridge-analog-bridge-php/health.svg)

```
[![Health](https://phpackages.com/badges/analogbridge-analog-bridge-php/health.svg)](https://phpackages.com/packages/analogbridge-analog-bridge-php)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
