How to get attributes from block.js into php

The render_callback function receives the block attributes as the first argument:

function render_latest_post( $attributes ) {
    $column_size = $attributes['columnSize'];
    // etc.
}