This example shows how to use macros when creating tables in Twig (Symfony 4). It can also be easily expanded by adding pagination, sorting, etc.
-
In project dir run:
composer install -
Run Local Web Server
php bin/console server:run -
Go to http://127.0.0.1:8000