write by laravel 4