Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jsonp Callback Validator Laravel Package

willdurand/jsonp-callback-validator

Validate JSONP callback names to prevent XSS. JsonpCallbackValidator checks whether a callback like JSONP.callback is safe and rejects malicious function payloads. Use via instance or static validate(), installable via Composer.

View on GitHub
Deep Wiki
Context7
v2.0.0

👋 Hey, it's been a long time, right? Almost 8 years. I merged a PR to validate the callback type recently. I don't think this is a BC break but this library has been super stable for so long that I didn't want to take any risk. That's why I just released 2.0.0 and not 1.2.0. Let me know if everything works with PHP 8.x these days.

Cheers, Will


What's Changed

New Contributors

Full Changelog:

See: https://github.com/willdurand/JsonpCallbackValidator/compare/v1.1.0...v2.0.0

v1.1.0
  • Added: allows to call the validate method statically
v1.0.0

First stable release.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
yandex/translate-api
voku/simple_html_dom
league/flysystem-vfs
bkwld/upchuck
filament/spatie-laravel-tags-plugin
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php