Most popular PHP Markdown parsers like Markdown Extra (is used by Sculpin) or Parsedown Extra (is used by Jigsaw) can't generated Table of Contents. Despite this, Sculpin can generate TOC. I became interested in it and researched how Sculpin does this.
Let me introduce you my own IBM App ID Provider for the PHP League's OAuth 2.0 Client. IBM App ID is a service for IBM Cloud that hides implementation of different OAuth providers (Facebook, Google, SAML, etc.) and allows you to use them in one way. This article is about provider that you can use to communicate with IBM App ID service using standalone PHP or Symfony.
Мy name is Dzianis Kotau. I'm Software Architect and Zend Certified PHP Engineer. I'm PHP evangelist and loved in it.