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

$path = storage_path('app/file.txt');