Public demo: nothing is sent to any provider and the data resets regularly.

Validation

Five forms, each posting to its own route. Rules run through the framework's validation: a failed form goes back with its errors next to the fields, a passed one answers with a result panel.

captcha disposableemail purifier xssprotection

Image captcha

The image comes from the package's own route /captcha/default. The answer is kept in the session and works once.

Captcha image
rule.Field(&f.Captcha, captcha.ImageRule{})

Remote captcha (Turnstile)

No keys are set, so the app uses Cloudflare's documented test keys and does not load the widget script. Post a test token instead: the siteverify call goes to the local dry-run recorder.

Sending is disabled on the public demo: siteverify always goes to the dry-run recorder.

Empty the field to see the missing token error.
rule.Field(&f.Token, captcha.Rule{})

Disposable email

The bundled list holds 109388 disposable domains. Try jo@mailinator.com (rejected) and jo@gmail.com (accepted).

rule.Field(&f.Email, rule.Required, rule.Email, disposableemail.Indisposable{})

XSS protection middleware

The first button posts to /validation/xss, a route with the xssprotection.CleanInput middleware. The second posts the same handler without it.

HTML purifier

The html field is cleaned with a named profile. The display name only has to be free of markup (purifier.NoHTML).

Try <b>Jo</b>.
Özkan Özcan

Available for new projects

Hire the developer behind these packages

I am Özkan Özcan. I ported, tested and published every package in this demo, and I can do the same for your code:

  • Port your Laravel package or application to Laravel Go
  • Move one slow service first and keep the rest in PHP
  • Priority support and custom features for any OzSuite package
Start a project See my services

I reply within one working day.