Mira por acá
http://davidwalsh.name/php-calendar
Saludos
--
Linux Registered User # 386081
A menudo unas pocas horas de "Prueba y error" podrán ahorrarte minutos
de leer manuales.
Podríamos ayudarte mejor si nos muestras tu código.
Una manera simple podría ser separarlos en semanas y con los espacios
en blanco correspondientes en php y en twig simplemente hacer:
<table>
<tr><th>L</th><th>M</th> ... </tr>
{% for week in month %}
<tr>
{%for day in week %}
<td>{{ day }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>