implement function to easily create paths with
jordanbrauer opened this issue · comments
basically, this will handle cross platform directories very nicely for the user.
As an example, something like this
path(__DIR__, 'vendor', 'autoload.php');
abstracts away the DIRECTORY_SEPARATOR
and ensures compatibility between any OS running PHP.
as opposed to how it's usually done
__DIR__ . 'vendor/autoload.php';