Setting up a Laravel project on Codeship

When  automate testing Laravel project on Codeship.  We need to set up environment variable (.env) and config some database information if n...

Laravel 5 customize Authentication model

I migrated a application from Laravel 4 to Laravel 5.1. In Laravel 4 , we have User eloquent class in app/models folder. So I keep it in...

CSRF Vulnerability In Laravel 4

News from Laravel blog  On November 7th, Chris Smith (@chrismsnz) of Insomnia Security alerted the Laravel development team of a metho...

[Laravel 4] change column name in Migration

In Laravel 3, you can change column name in migration file. From Laravel 4, If you are using the renameColumn function in your migrations, y...

[Laravel 4] Class not Found error when using migrate:rollback

Run composer dump-autoload   in terminal to update autoload class file. After that, run migrate:rollback again

Generate migration from existed database in Laravel 4

Laravel supports migration function which help us manage database and collaborate with team members better. We write code to define schema...