I cloned a Laravel 5.2 project.
When I execute composer install, I got the error:
Please provide a valid cache path.
I fixed it.
Create these folders under storage/framework:
sessions views cache
And also you can use this command to install:
sudo composer install
Now its worked!