{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":4515746,"defaultBranch":"master","name":"validation","ownerLogin":"illuminate","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-06-01T03:35:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1721772?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1717508808.0","currentOid":""},"activityList":{"items":[{"before":"9b4b05a2938efbd6b204c1efe9783c2c75132611","after":"8d4bb4cd1f4678bedb84bbf2a7060aae2ee94a8d","ref":"refs/heads/master","pushedAt":"2024-05-31T00:00:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge preserving keys only one level deep (#51516)","shortMessageHtmlLink":"Merge preserving keys only one level deep (#51516)"}},{"before":"f92fef41a140db2ad0bd60f6abf1df4e670764b1","after":"9b4b05a2938efbd6b204c1efe9783c2c75132611","ref":"refs/heads/master","pushedAt":"2024-05-28T00:00:48.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"b8bff1dcb31c416fc53fe0581596647cb934503c","after":"bf726e72e63e25149e5f2b5a4f4665224333efa4","ref":"refs/heads/11.x","pushedAt":"2024-05-22T15:00:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"renamed left `has` to `contains` (#51532)","shortMessageHtmlLink":"renamed left has to contains (#51532)"}},{"before":"8a8560bc532e4c6dc102980abbdb929f6e05cb2b","after":"f92fef41a140db2ad0bd60f6abf1df4e670764b1","ref":"refs/heads/master","pushedAt":"2024-05-15T00:00:45.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"25948737228d3ed8fa9432a7fd2b91044f4643a0","after":"b8bff1dcb31c416fc53fe0581596647cb934503c","ref":"refs/heads/11.x","pushedAt":"2024-05-10T13:00:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"docs: fixed array rule typehint (#51372)","shortMessageHtmlLink":"docs: fixed array rule typehint (#51372)"}},{"before":"0f83851b812d6fb4fabfd56fb0cbbe6eecd53de1","after":"25948737228d3ed8fa9432a7fd2b91044f4643a0","ref":"refs/heads/11.x","pushedAt":"2024-05-09T17:30:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] create new \"has\" validation rule (#51348)\n\n* create new \"has\" validation rule\r\n\r\ncurrently we have the \"in\" rule, which checks if given input is in a list of approved values. this new \"has\" rule is kind of the opposite of that. it checks that expected values are included in the given array of input.\r\n\r\nfor example, assume you are setting up the ability to restrict access to certain IP addresses. you might setup some rules like this:\r\n\r\n```php\r\nreturn [\r\n 'allowed_ips' => ['present', 'nullable', 'array'],\r\n 'allowed_ips.*' => ['required', 'ip'],\r\n];\r\n```\r\n\r\nHowever, you want to make sure the current user's current IP address is included in the provided array of input. Current rules do not provide a way to do this. With the new `has` rule, the rules would change to:\r\n\r\n```php\r\nreturn [\r\n 'allowed_ips' => ['present', 'nullable', 'array', 'has:' . $request->ip()],\r\n 'allowed_ips.*' => ['required', 'ip'],\r\n];\r\n```\r\n\r\nYou may also pass multiple parameters to the `has` rule, which would require all of the passed parameters to exist in the given input.\r\n\r\n* minor styling\r\n\r\n* formatting\r\n\r\n---------\r\n\r\nCo-authored-by: Taylor Otwell ","shortMessageHtmlLink":"[11.x] create new \"has\" validation rule (#51348)"}},{"before":"10c8ad9ecc865dc8d67568a7a1db09612fb5eb6d","after":"0f83851b812d6fb4fabfd56fb0cbbe6eecd53de1","ref":"refs/heads/11.x","pushedAt":"2024-05-05T16:00:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Fix ratio validation for high ratio images (#51296)\n\n* fix image ration validation for high ratio images\r\n\r\n* fix style ci\r\n\r\n* enhance comments\r\n\r\n* enhance precision equation\r\n\r\n* enhance precision equation\r\n\r\n* enhance precision equation","shortMessageHtmlLink":"[11.x] Fix ratio validation for high ratio images (#51296)"}},{"before":"2211d69a80af350f7c1cd6295cfc6d788dbc46c8","after":"10c8ad9ecc865dc8d67568a7a1db09612fb5eb6d","ref":"refs/heads/11.x","pushedAt":"2024-05-03T20:30:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Introduce method `Rule::array()` (#51250)\n\n* [11.x] Introduce method `Rule::array()`\r\n\r\n* CS fixes\r\n\r\n* Add `func_get_args` test\r\n\r\n* formatting\r\n\r\n---------\r\n\r\nCo-authored-by: Taylor Otwell ","shortMessageHtmlLink":"[11.x] Introduce method Rule::array() (#51250)"}},{"before":"cc91f4cc2d45a4a5078d393e5e062fc9ab6df66d","after":"2211d69a80af350f7c1cd6295cfc6d788dbc46c8","ref":"refs/heads/11.x","pushedAt":"2024-05-03T17:30:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"update \"min\" and \"max\" rule comments (#51274)\n\nadd \"or equal to\" so the comment is accurate for the behavior of the method.","shortMessageHtmlLink":"update \"min\" and \"max\" rule comments (#51274)"}},{"before":"3982b338d46f07b73c5dd504ccd7618999190f71","after":"8a8560bc532e4c6dc102980abbdb929f6e05cb2b","ref":"refs/heads/master","pushedAt":"2024-04-27T00:00:55.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tcomposer.json\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"25eb990bd430958334e31db4be334e475d19479f","after":"cc91f4cc2d45a4a5078d393e5e062fc9ab6df66d","ref":"refs/heads/11.x","pushedAt":"2024-04-22T15:30:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Provide context for NestedRules (#51160)","shortMessageHtmlLink":"Provide context for NestedRules (#51160)"}},{"before":"75112125206bdab1479df4535f337a763c045ab9","after":"25eb990bd430958334e31db4be334e475d19479f","ref":"refs/heads/11.x","pushedAt":"2024-04-17T14:30:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"docs: add enum typehints to static rule helper (#51090)","shortMessageHtmlLink":"docs: add enum typehints to static rule helper (#51090)"}},{"before":"c81f5cd03789a8df09889098c34652fb2bdf8410","after":"3982b338d46f07b73c5dd504ccd7618999190f71","ref":"refs/heads/master","pushedAt":"2024-04-17T00:00:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tcomposer.json","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"4bf14b53bb5c75e4994ae86514e2b02c7eba11de","after":"75112125206bdab1479df4535f337a763c045ab9","ref":"refs/heads/11.x","pushedAt":"2024-04-12T12:00:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Add RequiredIfDeclined validation rule (#51030)","shortMessageHtmlLink":"[11.x] Add RequiredIfDeclined validation rule (#51030)"}},{"before":"8adf97cfc061eab5f2374600dcfa5df376eb0a2c","after":"c81f5cd03789a8df09889098c34652fb2bdf8410","ref":"refs/heads/master","pushedAt":"2024-04-11T00:01:09.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"c93b1e910fa37497f8dbcf2f2e45b9964423d20a","after":"4bf14b53bb5c75e4994ae86514e2b02c7eba11de","ref":"refs/heads/11.x","pushedAt":"2024-04-04T18:00:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Add explicit nullable type declaration (#50922)","shortMessageHtmlLink":"Add explicit nullable type declaration (#50922)"}},{"before":"c88cc6b14c778efc4d3e10d56d844d55cdcaa2ee","after":"8adf97cfc061eab5f2374600dcfa5df376eb0a2c","ref":"refs/heads/master","pushedAt":"2024-03-22T00:00:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tcomposer.json","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"fdab1b52e5a23595197550f55a0237e9f93bfe0a","after":"c93b1e910fa37497f8dbcf2f2e45b9964423d20a","ref":"refs/heads/11.x","pushedAt":"2024-03-20T20:30:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Allow `BackedEnum` and `UnitEnum` in `Rule::in` and `Rule::notIn` (#50680)\n\n* add backedenum and unitenum\r\n\r\n* Update In.php\r\n\r\n* Update NotIn.php\r\n\r\n---------\r\n\r\nCo-authored-by: Taylor Otwell ","shortMessageHtmlLink":"[11.x] Allow BackedEnum and UnitEnum in Rule::in and `Rule::not…"}},{"before":"2145ec839b38c440a2e0141ade5b2bc6fda7ba4e","after":"c88cc6b14c778efc4d3e10d56d844d55cdcaa2ee","ref":"refs/heads/master","pushedAt":"2024-03-20T00:00:34.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tcomposer.json\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"23fa6f0cc09f5120566723763d8cc879b64f277b","after":"fdab1b52e5a23595197550f55a0237e9f93bfe0a","ref":"refs/heads/11.x","pushedAt":"2024-03-18T15:30:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"change typehint for enum rule from string to class-string (#50603)","shortMessageHtmlLink":"change typehint for enum rule from string to class-string (#50603)"}},{"before":"228fc9ff5305a019bcea19f1b4965c5d7c736862","after":"23fa6f0cc09f5120566723763d8cc879b64f277b","ref":"refs/heads/11.x","pushedAt":"2024-03-15T14:00:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Improved translation for displaying the count of errors in the validation message (#50560)","shortMessageHtmlLink":"Improved translation for displaying the count of errors in the valida…"}},{"before":"61da18d02ae855f1d5e4c2744808dd41c934d82b","after":"228fc9ff5305a019bcea19f1b4965c5d7c736862","ref":"refs/heads/11.x","pushedAt":"2024-03-14T16:00:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Re-add translations for ValidationException (#50546)","shortMessageHtmlLink":"Re-add translations for ValidationException (#50546)"}},{"before":"6cab21a1b1d1c53a03ce44de08f3f7bf901d6f4a","after":"2145ec839b38c440a2e0141ade5b2bc6fda7ba4e","ref":"refs/heads/master","pushedAt":"2024-03-13T00:00:44.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '11.x'\n\n# Conflicts:\n#\tCHANGELOG.md\n#\tsrc/Illuminate/Foundation/Application.php","shortMessageHtmlLink":"Merge branch '11.x'"}},{"before":"6cab21a1b1d1c53a03ce44de08f3f7bf901d6f4a","after":"61da18d02ae855f1d5e4c2744808dd41c934d82b","ref":"refs/heads/11.x","pushedAt":"2024-03-12T19:00:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] add `list` rule (#50454)\n\n* validateList\r\n\r\n* testValidateList\r\n\r\n* add list error message","shortMessageHtmlLink":"[11.x] add list rule (#50454)"}},{"before":"7d42f735bed4db730b997602db9558ad9ac798b5","after":"6cab21a1b1d1c53a03ce44de08f3f7bf901d6f4a","ref":"refs/heads/master","pushedAt":"2024-03-12T00:00:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '10.x' into 11.x","shortMessageHtmlLink":"Merge branch '10.x' into 11.x"}},{"before":"7d42f735bed4db730b997602db9558ad9ac798b5","after":"6cab21a1b1d1c53a03ce44de08f3f7bf901d6f4a","ref":"refs/heads/11.x","pushedAt":"2024-03-11T18:00:25.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '10.x' into 11.x","shortMessageHtmlLink":"Merge branch '10.x' into 11.x"}},{"before":"12e080f659b54b9f1b9bc752404446ebe5fcc8d8","after":"c9be8b183279f0175233e0758285a297431045ac","ref":"refs/heads/10.x","pushedAt":"2024-03-08T03:00:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"fix: trait on the same line (#50413)","shortMessageHtmlLink":"fix: trait on the same line (#50413)"}},{"before":null,"after":"7d42f735bed4db730b997602db9558ad9ac798b5","ref":"refs/heads/11.x","pushedAt":"2024-03-07T18:04:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Fix validated method (#50319)","shortMessageHtmlLink":"[11.x] Fix validated method (#50319)"}},{"before":"7a778edf1bd1af3477b403d1933779ef881e93aa","after":"7d42f735bed4db730b997602db9558ad9ac798b5","ref":"refs/heads/master","pushedAt":"2024-03-05T00:00:35.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"[11.x] Fix validated method (#50319)","shortMessageHtmlLink":"[11.x] Fix validated method (#50319)"}},{"before":"d98e7ee78aaa6afecadc136d466461d3b2a4ea93","after":"7a778edf1bd1af3477b403d1933779ef881e93aa","ref":"refs/heads/master","pushedAt":"2024-02-27T00:00:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"taylorotwell","name":"Taylor Otwell","path":"/taylorotwell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/463230?s=80&v=4"},"commit":{"message":"Merge branch '10.x'","shortMessageHtmlLink":"Merge branch '10.x'"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEWIOdtgA","startCursor":null,"endCursor":null}},"title":"Activity · illuminate/validation"}