unn / faker-xss
This package is abandoned and no longer maintained.
No replacement package was suggested.
A faker XSS library.
dev-master
2016-01-28 19:02 UTC
Requires
- fzaninotto/faker: 1.5.*@dev
Requires (Dev)
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: ~1.5
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.
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>