laravel Schema:: change table name code example Example: laravel rename table Schema::rename($currentTableName, $newTableName);