Level 56
$request->input('auto.send_invoice') matches <input name="auto[send_invoice]">
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi
I have come across weird thing with Laravel 5.1. I am trying to get checkbox array values out of request element but the way described in Laravel documentation is not working.
I am trying to do this but it is not working:
$request->input('auto.send_invoice')
This however works well:
$request->input("auto.'send_invoice'")
Is this is the way it is supposed to work??
$request->input('auto.send_invoice') matches <input name="auto[send_invoice]">
Please or to participate in this conversation.