Laminas escaper is a much more secure than htmlentities alone, and takes into account many other attacks, including things like charset manipulations, etc.
Kint is also much more powerful than var_dump and can show much more information.
Sorry - they're both staying.