PHP API Restful for my portfolio