Created
February 2, 2018 17:19
-
-
Save mitrallex/d17e29f7a2e0ca3a70df8d3c9d91a7e6 to your computer and use it in GitHub Desktop.
larave-file-hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $this->validate($request, [ | |
| 'name' => 'required|unique:files', | |
| 'file' => 'required|file|mimes:' . $all_ext . '|max:' . $max_size | |
| ]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment