The base_path function returns the fully qualified path to your application's root directory. You may also use the base_path function to generate a fully qualified path to a given file relative to the project root directory:
<?php $path = base_path();

$path = base_path('vendor/bin');