Skip to content

PHP code snippet – How to validate video laravel?

$this->validate($req, [
      'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm',
      ]);
See also  PHP code snippet - How to bulk insert array into sql ci?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.