Weave 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

Binput Laravel Package

graham-campbell/binput

Binput is a Laravel input cleaner that sanitises user input via HTMLPurifier, stripping dangerous markup while keeping safe content. It handles strings and arrays, supports cleaning types such as default, html, url and query, and integrates through a simple facade for safer request data.

View on GitHub
Deep Wiki
Context7

Binput is a Laravel package by Graham Campbell that provides a convenient, sanitized input layer for request data. It wraps common input retrieval patterns so controllers can read user-supplied values without repeating cleanup logic, helping reduce exposure to unsafe markup and malformed data.

  • Laravel integration via service provider and facade/helper.
  • Retrieve single fields, arrays, or all input through a simple API.
  • Sanitization applied to returned values to strip unwanted or unsafe content.
  • Keeps request handling clean and consistent across controllers.
  • Useful for forms and other untrusted user input.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource