codingmonkeys/laravel-fileflux
最新稳定版本:0.0.7
Composer 安装命令:
composer require codingmonkeys/laravel-fileflux
包简介
Convert your files with FileFlux Pro
关键字:
README 文档
README
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.
统计信息
- 总下载量: 115
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-26