Find the main application's path from a Composer package Apr 18th 2019 · #php #tweet Interesting little #php technique I came across to get the main application's directory - using a class you know will exist in the same place and reflection to find out the path. pic.twitter.com/KOZVz76z4z— Liam Hammett (@LiamHammett) April 18, 2019