Sk.recursive_subcategories.ee_addon is a project mainly written in PHP, it's free.
Pass in a cat_id and receive output of all subcategories, in nested UL or linear. Provides a parameter to include the parent cat_id in the tree. Works for cat ID or name output, but not working correctly for all desired or requested features. Input i