Hi Kumaran, Did you find any solution? I have the same problem.
When i compress the laravel folder as zip the ClamXav & Avast detects the zip as Win.Trojan and my server rejects the file upload. I tried sending mail to another Gmail account the attachment succeeds but delivery fails returning the message the attachment contains potential threat.
But when I scan the folder without zipping everything is normal. No threat is found.
Further I found that the only when the zip contains the vendor/symfony folder, the zip is recognized as threat. Excluding that vendor/symfony I can upload, i can attach in gmail.
Im in a Macintosh System. I ended up transferring files to my windows system and the upload was successful there. I scanned my entire mac but no threat was found and also i cleared composer cache and made a fresh install of the dependecies and still it was recognized as threat.
Some networks consider Zip files in general unsafe and the security policy rejects them. Depending how they scan the file you might be able to just change the extension. Best is to check their file upload policy.