juicyfx / juicy
🐘 PHP client for serverless juicy functions
Fund package maintenance!
f3l1x
Installs: 11 888
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- guzzlehttp/guzzle: ^6.5.5 || ^7.2.0
Requires (Dev)
- mockery/mockery: ^1.3.3
- ninjify/nunjuck: ^0.4.0
- ninjify/qa: ^0.12.0
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
This package is auto-updated.
Last update: 2024-10-17 19:36:35 UTC
README
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x
Usage
To install latest version of juicyfx/juicy
use Composer.
composer require juicyfx/juicy
Versions
Usage
PDF(x)
use JuicyFx\Juicy\JuicyFx; $client = JuicyFx::createPdf(); $client = JuicyFx::createPdf(['base_uri' => 'your-pdfx.now.sh']); $response = $client->pdf()->url('https://f3l1x.io'); $response = $client->pdf()->raw('raw string'); $response = $client->pdf()->json([); 'body' => 'post body' ]); $response = $client->pdf()->json([ 'body' => 'post data', 'headerTemplate' => '<div style="font-size: 30px;">HEADER</div>', 'footerTemplate' => '<div style="font-size: 30px;">FOOTER</div>', ], [ 'displayHeaderFooter' => 1, 'marginTop' => 100, 'marginBottom' => 100, ]);
Development
See how to contribute to this package. This package is currently maintained by these authors.
Consider to support f3l1x. Also thank you for using this package.