How to develop api is to get json data from get?

We can get json data like this:

http://v.juhe.cn/laohuangli/d?date=2014-09-11&key=KEY

what should I do if I make my own server to provide such a service for an interface like this? What technologies need to be used, and is there a ready-made open source framework to use?

Apr.01,2021

recommend Dingo API Bar

if the technology is not enough, just use a framework or native PHP under the unified output json_encode ()

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37724-2c09c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37724-2c09c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?