The source code for the tutorial at http://laptrinh.io/2014/12/16/xu-ly-da-ngon-ngu-trong-laravel-voi-du-lieu-lay-tu-database/