How to get trend name and url from GET trend

trends
php

#1

php code:

$url = "https://api.twitter.com/1.1/trends/place.json?id=1";
$available_trends = $twitter->get($url);
echo $available_trends;

output is something like below

[{"trends":[{"name":"#ALDUBTheBigSurprise","query":"%23ALDUBTheBigSurprise","url":"http:\/\/twitter.com\/search?q=%23ALDUBTheBigSurprise","promoted_content":null},]

#2

The trend name and the search URL to surface Tweets in the trend are listed inside that JSON response. What is your question?