Skip to content

Repository files navigation

Very short description of the package

Latest Version on Packagist Total Downloads GitHub Actions

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require codingmonkeys/laravel-fileflux

Usage

$response = (new FileFlux)
    ->project('{project-id}')
    ->webhook('https://{yourdomain.com}/file-flux/webhooks')
    ->workflow('ConvertAudioWorkflow')
    ->source('source/89-test copy.wav')
    ->target([
        'extension' => 'mp3',
        'filename' => 'target/converted2222.mp3',
        'channels' => 2,
        'bitrate' => 128,
    ])
    ->convert();
// Example with preset.
$response = (new FileFlux)
    ->source('source/large.wav')
    ->preset('my-preset')
    ->target('target/large.mp3')
    ->convert();
$response = (new FileFlux)
    ->project('{project-id}')
    ->webhook('https://{yourdomain.com}/file-flux/webhooks')
    ->workflow('ConvertAudioWorkflow')
    ->source('source/89-test copy.wav')
    ->target([
        'format' => 'webp',
        'quality' => 100,
        'folder' => 'target/folder',
        'pages' => 'all',
        'resolution' => 150,
    ])
    ->convert();
// Example with preset.
$response = (new FileFlux)
    ->source('source/my-pdf-file.pdf')
    ->preset('pdf-to-image')
    ->target('target/folder')
    ->convert();

Security

If you discover any security related issues, please email michael@codingmonkeys.nl instead of using the issue tracker.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages