unn/faker-xss

This package is abandoned and no longer maintained. No replacement package was suggested.

A faker XSS library.

Maintainers

Details

github.com/unn/faker-xss

Source

Issues

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/unn/faker-xss

dev-master 2016-01-28 19:02 UTC

This package is not auto-updated.

Last update: 2022-10-29 06:17:40 UTC


README

=========

Faker-xss is a provider for the Faker library. This provider will give basic XSS testing your app with fake data.

SensioLabsInsight Build Status

Basic usage

$faker = \Faker\Factory::create();
$faker->addProvider(new Xss($faker));
$string = $faker->xss; #<script>alert('XSS');</script>

Using custom strings, useful for providing labels to which form fields are being seeded with data.

$faker = \Faker\Factory::create();
$faker->addProvider(new Xss($faker));
$string = $faker->xss('string'); #<script>alert('string');</script>