xenokore/inspirobot

Inspirobot image generator

dev-master 2023-04-21 15:19 UTC

This package is auto-updated.

Last update: 2024-04-21 17:28:38 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