According to this answer https://stackoverflow.com/a/29740218/7921383 handling Boolean values in URL is depend on framework.
How to pass Boolean values false
and true
in laravel?
Since version laravel/framework: v6.13.
There are added ability to call on the \Illuminate\Http\Request
method boolean
that will return true when value is "1", "true", "on", and "yes". Otherwise, returns false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With