Migrate the previous system to laravel framework