Using Windows 10 with Wampstack-5.6.28-1 which has composer.phar already loaded, at the command prompt I entered
C:\Bitnami\Wampstack-5.6.28-1\php>composer require gregwar/captcha. This then created .json and .lock files and a ..\php\vendor
folder. I copied the vendor folder into \apache2\htdocs and added index.php as follows (which is mostly copied from the gregwar usage
sheet)
<?php
require 'vendor\autoload.php';
use gregwar\Captcha\CaptchaBuilder;
$builder = new CaptchaBuilder;
$builder->build;
header('content-type: image/jpeg');
$builder->output;
?>
Then http://localhost/index.php ought (I thought) to show me some captchas. But it doesn't. It gives a blank sheet. No errors
are indicated. What have I done wrongly, please ?