laravel/framework — pull request #824 by andershammar (2013-04-03 21:24:58+00:00)
Title: Add new 'required_without' validation rule

Add new 'required_without' validation rule that verifies that the field under validation must be present only if the other specified fields are _not_ present.

This is the opposite of the 'required_with' validation rule. It makes sense to have a rule like this since we already have the 'same' and 'different' validation rules which are each other's counterparts. I also need a rule like this for a personal project that I am working on. :-)