a small API to easily create its portfolio in php