hasangilak / NoLock by hasangilak

get read of locking file in both laravel and the way laravel use league filesystem
2,170
2
1
Package Data
Maintainer Username: hasangilak
Package Create Date: 2016-01-11
Package Last Update: 2016-01-11
Language: PHP
License: MIT
Last Refreshed: 2025-02-21 03:16:19
Package Statistics
Total Downloads: 2,170
Monthly Downloads: 6
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

NoLock

get rid of this error on laravel 5.1 : file_put_contents(): Exclusive locks are not supported for this stream

Installation

composer require gilak/nolock

Usage

replace the filesystem service provider in config/app.php find

Illuminate\Filesystem\FilesystemServiceProvider::class,

replace it with

NoLock\FileSystemWithNoLockServiceProvider::class,