Dump the data in an HTML file

var-dump-server

  • Symfony dump server.
    Collects data dumped by the Symfony VarDumper component.
    More information: <https://symfony.com/doc/current/components/var_dumper.html#the-dump-server>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

var-dump-server --format=html > {{path/to/file.html}}

click the source code to copy