I am using Laravel 5.2. I need to get RSS feeds using SimplePie, so I install the library through composer.json and now my vendor folder contains simplepie but when i run the following code this error shows:

> 
> ErrorException in SimplePie.php line 1379: ./cache is not writeable.
>  Make sure you've set the correct relative or absolute path, and that
>  the location is server-writable.
> 
> 
> 

My code in route:

```
Route::get('feed', function () {

$feed = new SimplePie();

$feed->set_feed_url(array(
    'http://www.thenews.com.pk/rss/2/16' //it has no images
));
$feed->init();
$itemCount=$feed->get_item_quantity();
return $itemCount;
});

```