PHPackages                             markocupic/cloudconvert-bundle - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. markocupic/cloudconvert-bundle

ActiveContao-bundle[File &amp; Storage](/categories/file-storage)

markocupic/cloudconvert-bundle
==============================

This Bundle for the Contao CMS provides a OOP PHP wrapper for CloudConvert's API. Convert files from one filetype into an other with ease.

2.5.10(2mo ago)24.4k↑225%3LGPL-3.0+PHPPHP ^8.1CI failing

Since Jun 13Pushed 2mo agoCompare

[ Source](https://github.com/markocupic/cloudconvert-bundle)[ Packagist](https://packagist.org/packages/markocupic/cloudconvert-bundle)[ RSS](/packages/markocupic-cloudconvert-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (39)Used By (3)

[![](https://github.com/markocupic/markocupic/raw/main/logo.png?raw=true)](https://github.com/markocupic)

Cloudconvert Bundle
===================

[](#cloudconvert-bundle)

This simple bundle for the **Contao CMS** provides an OOP PHP wrapper for converting files from one format into another using the [Cloudconvert API](https://cloudconvert.com/api/v2).

[![](docs/images/logo_cloudconvert.png)](https://cloudconvert.com/)

Almost everything is possible:

- docx -&gt; pdf
- jpeg -&gt; png
- wav -&gt; mp3
- csv -&gt; xlsx
- etc. For a full list of formats visit [Cloudconvert](https://cloudconvert.com/).

Free plan (25 credits per day)
------------------------------

[](#free-plan-25-credits-per-day)

Get your **free API key** for using the **Cloudconvert API**: [Free Plan Cloudconvert](https://cloudconvert.com/pricing)

Installation &amp; configuration
--------------------------------

[](#installation--configuration)

Install the extension via the **Contao Manager** or call `composer require markocupic/cloudconvert-bundle` in your **command line**.

In your `config/config.yaml` you now have to set the **api key**.

```
# config/config.yaml
markocupic_cloudconvert:
  api_key: '****' # is mandatory
  sandbox_api_key: '****' # is optional
  backend_alert_credit_limit: 100 # is optional /default to: 200 /set to 0 to disable the system alert
  credit_expiration_notification: # is optional
      enabled: true # is optional
      limit: 150 # is optional
      email: ['foo@bar.ch', 'bar@foo.ch'] # is optional
```

To complete the installation please run `composer install` in your command line.

Usage
-----

[](#usage)

```
