This is just an example code using Laravel Framework