PHPackages                             onlineuniconverter/onlineuniconverter-laravel - 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. onlineuniconverter/onlineuniconverter-laravel

ActiveLibrary[API Development](/categories/api)

onlineuniconverter/onlineuniconverter-laravel
=============================================

Laravel PHP SDK for OnlineUniConverter APIs

v2.0.0(5y ago)13MITPHPPHP &gt;=7.2.0

Since Jun 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Online-UniConverter/Online-UniConverter-laravel)[ Packagist](https://packagist.org/packages/onlineuniconverter/onlineuniconverter-laravel)[ Docs](https://github.com/Online-UniConverter/Online-UniConverter-laravel)[ RSS](/packages/onlineuniconverter-onlineuniconverter-laravel/feed)WikiDiscussions master Synced 3w ago

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

Online-UniConverter-laravel
===========================

[](#online-uniconverter-laravel)

> This is the official Laravel package for the OnlineUniConverter *API v2*

[![Tests](https://github.com/Online-UniConverter/Online-UniConverter-laravel/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Online-UniConverter/Online-UniConverter-laravel/actions/workflows/run-tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/4746ed1e0873f5f075b8a70cb2153eacb30d03538d019ab3425250cce6befd7e/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6c696e65756e69636f6e7665727465722f6f6e6c696e65756e69636f6e7665727465722d6c61726176656c2f76)](//packagist.org/packages/onlineuniconverter/onlineuniconverter-laravel)[![Total Downloads](https://camo.githubusercontent.com/3fda57a8636295f66e957fcaa157b8f0305c5ddb218d5b71e6f57c17d61318d9/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6c696e65756e69636f6e7665727465722f6f6e6c696e65756e69636f6e7665727465722d6c61726176656c2f646f776e6c6f616473)](//packagist.org/packages/onlineuniconverter/onlineuniconverter-laravel)[![Latest Unstable Version](https://camo.githubusercontent.com/93943846fbe3f0e29e936aad1a28e5ce9115940fd382796fd20f7713d1756c7a/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6c696e65756e69636f6e7665727465722f6f6e6c696e65756e69636f6e7665727465722d6c61726176656c2f762f756e737461626c65)](//packagist.org/packages/onlineuniconverter/onlineuniconverter-laravel)[![License](https://camo.githubusercontent.com/e7263f2e31f920a3bdbd40c338c4ceec90151f8dc9d260bcef0e9661f1c74a39/68747470733a2f2f706f7365722e707567782e6f72672f6f6e6c696e65756e69636f6e7665727465722f6f6e6c696e65756e69636f6e7665727465722d6c61726176656c2f6c6963656e7365)](//packagist.org/packages/onlineuniconverter/onlineuniconverter-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require onlineuniconverter/onlineuniconverter-laravel

```

This package requires a HTTP client. It works both with Guzzle 6 and 7. If you are using Guzzle 6, you need an adapter:

```
composer require php-http/guzzle6-adapter

```

Guzzle 7 works out of the box.

Next you must publish the config file.

```
php artisan vendor:publish --provider="OnlineUniConverter\Laravel\Providers\OnlineUniConverterServiceProvider"

```

This is the content that will be published to `config/onlineuniconverter.php`:

Usage
-----

[](#usage)

### File conversion

[](#file-conversion)

```
# Init Convert Class

$onlineUniConverter = new \OnlineUniConverter\Laravel\OnlineUniConverter(config('onlineuniconverter'));
```

```
# Convert the file to /a/path/to/file.mp4

$onlineUniConverter->from('/a/path/to/file.mov')->to('mp4')->convert();
```

```
# Convert the file and save it in a different location /a/new/path/to/new.mp4

$onlineUniConverter->from('/a/path/to/biggles.webm')->to('/a/new/path/to/new.mp4')->convert();
```

```
# It also works with Laravel's file upload

if (Input::hasFile('photo'))
{
    $onlineUniConverter->from( Input::file('photo') )->to('/a/local/path/profile_image.jpg')->convert();
}
```

```
# Compress the image to kitty.jpg with ratio of 70%

$onlineUniConverter->from('kitty.png')->ratio(0.7)->to('jpg')->compress();
```

#### Remote files

[](#remote-files)

It will also work with converting remote files (just make sure you provide a path to save it to)

```
# Convert Google's SVG logo hosted on Wikipedia to a png on your server

$onlineUniConverter->from('http://upload.wikimedia.org/wikipedia/commons/a/aa/Logo_Google_2013_Official.svg')->to('images/google.png')->convert();
```

You can use the [OnlineUniConverter](https://developer.media.io/api-introduction.html) to see the available options for the various task types.

Tests
-----

[](#tests)

```
vendor/bin/phpunit

```

Resources
---------

[](#resources)

- [PHP SDK](https://developer.media.io/)
- [API Documentation](https://developer.media.io/)
- [OnlineUniConverter Blog](https://developer.media.io/)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

1854d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84499778?v=4)[Online Uniconverter](/maintainers/Online-UniConverter)[@Online-UniConverter](https://github.com/Online-UniConverter)

---

Top Contributors

[![Online-UniConverter](https://avatars.githubusercontent.com/u/84499778?v=4)](https://github.com/Online-UniConverter "Online-UniConverter (3 commits)")

---

Tags

laravelonlineuniconvert

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onlineuniconverter-onlineuniconverter-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/onlineuniconverter-onlineuniconverter-laravel/health.svg)](https://phpackages.com/packages/onlineuniconverter-onlineuniconverter-laravel)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)[concrete5/core

Concrete core subtree split

20166.1k52](/packages/concrete5-core)

PHPackages © 2026

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