src/Poser.php
public function generate($subject, $status, $color, $format)
    {
        $badge = new Badge($subject, $status, $color, $format);

        return $this->getRenderFor($badge->getFormat())->render($badge);
    }
public function generate($subject, $status, $color, $format)
    {
        $badge = new Badge($subject, $status, $color, $format);

        return $this->getRenderFor($badge->getFormat())->render($badge);
    }
Generate and Render a badge according to the format.

@param $subject
@param $status
@param $color
@param $format

@return Image