ivolkoff / NoLock by ivolkoff
forked from hasangilak/NoLock

get read of locking file in both laravel and the way laravel use league filesystem
423
0
1
Package Data
Maintainer Username: ivolkoff
Package Create Date: 2016-07-21
Package Last Update: 2016-07-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:23:40
Package Statistics
Total Downloads: 423
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
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 ivolkoff/nolock

Usage

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

Illuminate\Filesystem\FilesystemServiceProvider::class,

replace it with

NoLock\FilesystemWithNoLockServiceProvider::class,