If your laravel project is located in the AppFolder folder, for example, on your local drive, do not create your zip file by right-clicking on the AppFolder. Instead use below.
Open AppFolder, select all the files (including the shared folder) and select to add to anyName.zip (anyName can also be an AppFolder). Download this anyName.zip to your Beanstalk environment.
You can change the document root to '/ public' go to the EBS console> Application> Configuration> Software configuration and change the "Document root" in the "Container Settings" section
source share