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
Preview Password Type Bundle

Preview Password Type Bundle Laravel Package

codeplace-io/preview-password-type-bundle

Symfony bundle providing a PreviewPasswordType form field that adds a show/hide toggle to password inputs, letting users preview what they type. Easy to install, configure, and drop into existing Symfony forms for improved usability and fewer typos. Includes a configurable toggle and works with stan...

View on GitHub
Deep Wiki
Context7

show/hide value of password field

Frequently asked questions about Preview Password Type Bundle
Is codeplace-io/preview-password-type-bundle a Laravel package or a Symfony bundle?
The repository name ends in Bundle, and the description points to a Symfony form type, so it is almost certainly a Symfony bundle rather than a Laravel package. Do not treat it as Laravel-native without inspecting composer.json and the source for Laravel service providers, facades, config, or Blade integration.
What does PreviewPasswordType actually do?
It provides a PreviewPasswordType form field for Symfony Forms that adds a show/hide toggle to password inputs so users can preview what they type. The scope is a small UI affordance, not a platform capability. In Laravel, the same behavior is usually a small Blade component or JavaScript utility.
Can I install this package in a Laravel application with Composer?
Composer may resolve the package, but installation does not make it Laravel-compatible. Laravel does not normally consume Symfony bundles through package discovery or service providers. Treat it as unsupported in Laravel unless you confirm a Laravel-specific integration path.
How do I install and configure it in a Symfony project?
The provided README excerpt is blank, so exact steps are not confirmed. For a Symfony bundle, expect Composer installation plus bundle registration in Symfony configuration, then use the form type in Symfony Forms. Verify composer.json, the README, and the license before adopting it.
Which Laravel, PHP, and Symfony versions are supported?
There is no evidence of Laravel version support because the package appears Symfony-oriented. Check composer.json for PHP and Symfony constraints rather than Laravel constraints. Assume incompatibility with your Laravel version until proven otherwise.
Does it work with Laravel Blade forms and package discovery?
Likely no. A Symfony Form Type is not a Blade component, and Laravel package discovery would not normally register a Symfony bundle. You would need an internal Blade or JavaScript implementation instead.
Is it safe to use for production password fields?
Be cautious. Password reveal controls are security-sensitive, and the metadata does not establish CSP compatibility, safe DOM handling, logging behavior, or accessibility. Review how the value is exposed and prefer a tested internal implementation for production.
Does it include JavaScript and CSS assets and work with CSP?
The metadata does not confirm whether the package ships JavaScript or CSS assets or only a Symfony form type. If assets are included, check CSP compatibility, asset publishing, and whether the toggle works without inline scripts. Extracting a small vanilla JavaScript or Alpine pattern may be safer.
Are there tests, release tags, and active maintenance?
There is no evidence of tests, release tags, a changelog, active maintenance, or community validation; the assessment notes zero stars, zero dependents, and a score of 0. Treat the package as unvalidated and self-supported if adopted. Require a spike, owner approval, version pinning, and a removal plan.
What is the best Laravel alternative for a password show/hide toggle?
For Laravel, implement a small Blade component or vanilla JavaScript/Alpine toggle rather than adding a Symfony bundle. Use an accessible button with keyboard support and clear aria state, and keep password value handling unchanged. This avoids an unnecessary dependency and gives you control over CSP, testing, and maintenance.
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.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk