Create a new release? #1
Comments
First of all, congrats, you're one of the 4 users using this package! :D Secondly, what Laravel version are you using? I tried to use it in 5.5 yesterday, but noticed I didn't explicitly enable support for it yet. Was planning on doing so along the way, but might as well prioritize this. Note that this is still a dev package. I'm looking into the new Laravel 5.5 |
Haha, I found it at the comments on Laracasts, and it seems handy because I've disabled mass assignment with But... I'm using Laravel 5.4, with the current release version I'm getting an error about the |
Ha yeah, I'm using the same flow. Not using I'll set up a test project later today to figure out what the problem is. I'll keep you posted. |
Pushed an intermediate v0.2.0 release so you can use this with the https://github.com/sebastiaanluca/laravel-validator/releases/tag/0.2.0 Problem was just that |
Awesome! Thank you! |
@sebastiaanluca, just an update, it looks like Laravel added it in Laravel 5.5, see: https://github.com/laravel/framework/blob/5.5/src/Illuminate/Foundation/Http/FormRequest.php#L168:L178 and https://twitter.com/PendoNL/status/902935537417412609. I've not yet tested it, no idea if it also works with array field names but I'm going to try it tomorrow. |
I've been meaning to test Laravel 5.5's validate method since I saw the first tweets about it a few weeks/months ago. I've been working on a 5.5 project for a month now and can confirm both the controller's I haven't had the chance to test arrays yet, but from what I'm reading, laravel/framework#17660 (implemented) |
Now I've to use
composer require sebastiaanluca/laravel-validator:dev-develop
to get it working.The text was updated successfully, but these errors were encountered: