Support the ongoing development of →
Requests Input Validation
Last updated 2 years ago.


value required doesn't mean that providing that option is required. You see, there's no such thing as required option, option by definition is... optional.

Required option value means that you cannot run your command this way:

yourcommand --youroption

If you need to have value that always must be provided, use arguments. They are meant for that.


Oh, shame on me, you're so right ^^

I've started with options as I'd like to put the commands args in any order.

I've done it the wrong way :D

Thanks !


Sign in to participate in this thread!


Your banner here too?

giviz giviz Joined 9 Jan 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.