Edit on GitHub
Jump to docs navigation

Debugging / Console Commands

Bolt's command line utility console has several commands that you may find very helpful to query and debug certain parts to Bolt's internals. To run the utility, type in php bin/console in Bolt's root directory.

  • Event Listeners
    • Outputs configured event details such as name, listening function, and execution priority
  • Routing Configuration
    • Displays the configured routes, or details of a named route
  • Route Matcher
    • Shows which routes match a given request, which don't, and for what reason
  • Service Providers
    • Displays all configured service providers, their registration order, and effective boot() order
  • Twig Operations
    • Outputs a list of twig functions, filters, globals and tests.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.