PHPackages                             vectorly/php-client - 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. [API Development](/categories/api)
4. /
5. vectorly/php-client

ActiveLibrary[API Development](/categories/api)

vectorly/php-client
===================

Vectorly.io api php client

v1.0.4(6y ago)147MITPHPPHP &gt;=7.1.3CI failing

Since Sep 27Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Vectorly/PhP-Client)[ Packagist](https://packagist.org/packages/vectorly/php-client)[ RSS](/packages/vectorly-php-client/feed)WikiDiscussions master Synced 6d ago

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

Vectorly REST API PHP Client
============================

[](#vectorly-rest-api-php-client)

A php wrapper for Vectorly rest api, that offers a number of methods to interact with Vectorly's Rest service.

Vectorly Rest Api PHP Client is using:
--------------------------------------

[](#vectorly-rest-api-php-client-is-using)

- `ankitpokhrel/tus-php` as a Tus Client
- `guzzlehttp/guzzle` for http calls

Installing Vectorly Rest PHP Client:
------------------------------------

[](#installing-vectorly-rest-php-client)

```
composer require vectorly/php-client
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

Examples:
---------

[](#examples)

#### List videos:

[](#list-videos)

```
$client      = new Vectorly\Client( 'API_KEY_GOES_HERE' );
$videos_list = $client->list();
print_r( $videos_list );
```

#### Upload video:

[](#upload-video)

```
$bytes_uploaded = $client->upload( '/path/to/file' );
echo $bytes_uploaded;
```

or

```
/**
 * Upload the file
 * With a custom name (optional),
 * Set the unique id (optional),
 * And upload a chunk of 1MB (optional)
 */
$bytes_uploaded = $client->upload( '/path/to/file', 'my_custom_name.mp4', 'my_unique_id', 1000000 );
echo $bytes_uploaded;
```

#### Get video details:

[](#get-video-details)

```
$video_details = $client->details( 'video_id' );
print_r( $video_details );
```

#### Search for videos by term presence:

[](#search-for-videos-by-term-presence)

```
$videos_list = $client->search( 'search_term' );
print_r( $videos_list );
```

#### Download video:

[](#download-video)

```
$client->download( 'video_id', '/path/to/output/file.mp4' );
```

#### Analytics:

[](#analytics)

Overall summary of video playback over the last 30 days

```
$analytics = $client->analytics();
print_r($analytics);
```

Retrieve all events from the last 90 days for a particular video

```
$events = $client->events('video_id');
print_r($events);
```

#### Check account usage and billing details:

[](#check-account-usage-and-billing-details)

```
$account_details = $client->account();
print_r($account_details);
```

#### Secure a video url:

[](#secure-a-video-url)

```
/**
 * Get a temporary url that grants access to the video for ten minutes
 * If the duration is omitted, the default value is one minute
 */
$temporary_url = $client->secure('video_id', 10);
print_r($temporary_url);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

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

2424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e13487edfa97e616d5bb02c0672ed0d3088485a87ca029c2a6e2248d0f8e8870?d=identicon)[sb2702](/maintainers/sb2702)

---

Tags

phpapiapi clientvectorly

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vectorly-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/vectorly-php-client/health.svg)](https://phpackages.com/packages/vectorly-php-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)

PHPackages © 2026

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