Better to use
composer create-project laravel/laravel
To create a project. Using your supplier’s dir server will start with only 10 MB. (I just did it here and downloaded it for me).
And it looks like you can also:
composer update --no-dev --prefer-dist
To reduce the current use of project space.
But ... the supplier’s directory and all its first-level subdirectories are required (if you use all the packages you have installed), but there are some subdirectories inside them that you can easily ignore during deployment, for example:
*/examples/* */docs/* */docs2/* (Doctrine) */tests/* */test/* */Tests/* (Carbon) */swiftmailer/swiftmailer/notes/*
source share