yoapy-laravel maintained by yoapycom
Description
Laravel client for YoApy API (HMAC-signed, JSON-only).
Author
Last update
2025/09/09 18:51
(dev-main)
License
Downloads
0
YoApy Laravel (yoapycom/yoapy-laravel)
Laravel client for YoApy API (HMAC-signed, JSON-only).
This package replaces
yoapy/yoapy-laravel.
Install
composer require yoapycom/yoapy-laravel
php artisan vendor:publish --provider="YoApy\Laravel\YoApyServiceProvider" --tag=config
.env
YOAPY_BASE_URL=https://api.yoapy.com
YOAPY_KEY_ID=your_key_id
YOAPY_SECRET_HEX=your_secret_hex
YOAPY_HTTP_TIMEOUT=30
Quick usage
use YoApy\Laravel\Facades\YoApy;
$ping = YoApy::authPing();
$res = YoApy::createPost([
'account' => 'yourhandle',
'account_ids' => ['facebook'],
'post_type' => 'image',
'text' => "Title\n\nDesc",
'media_urls' => ['https://example.com/image.webp'],
]);
License
MIT