Looking to hire Laravel developers? Try LaraJobs

laravel-fileflux maintained by codingmonkeys

Description
Convert your files with FileFlux Pro
Author
Last update
2026/05/18 13:17 (dev-main)
License
Downloads
350

Comments
comments powered by Disqus

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.