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');
<?php         return;



        $file = storage_path('framework/cache/lw-checksum-log.json');



        Artisan::command('livewire:monitor-checksum', function () use ($file) {

            File::put($file, json_encode(['checksums' => [], 'failure' => null]));