Secure password generator
Passwords are generated on the server using PHP random_int(), backed by the operating system cryptographic random source.
The generator uses a cryptographically secure source
PHP random_int() returns uniformly selected integers from a cryptographically secure source supplied by the operating system. That makes it appropriate for generating values that must be difficult to predict, including long-term secrets.
For random passwords, length is extremely valuable
A machine-generated password does not need to be memorable. When a password manager will store it, using a longer unique password is generally preferable as long as the target service accepts the chosen length and characters.
Character classes are a generator preference, not a universal password policy
This generator lets you select lowercase, uppercase, numbers and symbols because generated credentials often need to satisfy service-specific requirements. That does not mean websites should force arbitrary composition rules on users. Modern guidance emphasizes sufficient length, blocking compromised passwords and allowing password managers.
Never reuse a generated password across services
A long random password loses much of its practical security benefit if the same credential is reused elsewhere and one service is compromised. Generate a different password for each account and store it in a trusted password manager.
The destination system still defines what it accepts
Some legacy systems reject specific symbols or impose short maximum lengths. When that happens, adjust the generator to the service requirements, but prefer increasing length instead of unnecessarily shrinking the character space.