<?php
use Laminas\Db\Sql\Ddl\CreateTable;
use Laminas\Db\Sql\Ddl\Column\Varchar;
use Laminas\Db\Sql\Ddl\Column\Date;
use Laminas\Db\Sql\Ddl\Column\Integer;
use Laminas\Db\Sql\Ddl\Constraint\PrimaryKey;
$create = new CreateTable('table_name');
$id = new Integer('id');
$varchar = new Varchar('name', 255);
$date = new Date('start_date');
$pk = new PrimaryKey(['id']);
$create->addColumn($id);
$create->addColumn($varchar);
$create->addColumn($date);
$create->addConstraint($pk);
echo $create->getSqlString();