I want to lock file to write from other script in laravel 5.5 ,how can I do it.I have used Storage::put() method to write on file but it doesnot give file pointer so how can