hasangilak / NoLock by hasangilak

get read of locking file in both laravel and the way laravel use league filesystem
1,774
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: 2024-04-18 15:21:20
Package Statistics
Total Downloads: 1,774
Monthly Downloads: 64
Daily Downloads: 1
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,