No, you do not need to specify the size of a tinyint column when using Laravel's schema builder. The default size for a tinyint column is 1. Therefore, you can simply use the following code to create a tinyint column:
$table->tinyInteger('published');
Specifying the size as 1 is redundant and unnecessary.