xenokore / inspirobot
Inspirobot image generator
dev-master
2023-04-21 15:19 UTC
Requires
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^8.3
This package is auto-updated.
Last update: 2025-03-21 19:34:53 UTC
README
An Inspirobot image URL generator. It generates a random Inspirobot image and returns the public URL.
Uses Guzzle to connect to their API.
Install
composer require xenokore/inspirobot
Usage
use Xenokore\Inspirobot\Inspirobot; $url = Inspirobot::generateUrl(); var_dump($url); // string "https://generated.inspirobot.me/a/KD69rvVXeo.jpg"
License
MIT