kor3k

Results 11 comments of kor3k

@VincentLanglet @tgalopin maybe take a look at this https://github.com/m2mtech/flysystem-stream-wrapper

oh sorry, i wanted to reply but i forgot. yes i am looking through it. i can make it PSR-3 compliant, but unfortunately, it won't be without breaking BC. for...

i am making the client a service (multiple instances actually). but in both service & manual instance, i assume that `Client` and `Server` are the "entry points" which should get...

i got your point there, but maybe it's time for new major version then. i know this library started long time ago, but using it with today's frameworks by their...

@twistor yes, it's described here https://github.com/twistor/flysystem-stream-wrapper/issues/12#issuecomment-526179427

replace https://github.com/twistor/flysystem-stream-wrapper/blob/master/src/Flysystem/Plugin/Stat.php#L157 with ``` $ret['mode'] += empty($this->permissions[$metadata['type']][$metadata['visibility']]) ? $metadata['visibility'] : $this->permissions[$metadata['type']][$metadata['visibility']]; ```

the `$metadata['visibility']` is supposed to be either a "named permission" string like `public`, or an octal pemission mode. this should fix it for the moment: https://github.com/twistor/flysystem-stream-wrapper/pull/15/files but it looks it...

@hexus mine #15 was just a quick fix, but #19 looks more sophisticated, so i'd prefer this one. well, @twistor ain't responding for over a year 🤷‍♂️ so perhaps i'll...

ok so here it is, tagged to v1.0.10: https://github.com/kor3k/flysystem-stream-wrapper overriding packagist repo source in composer: ``` "repositories": [ { "type": "vcs", "url": "[email protected]:kor3k/flysystem-stream-wrapper.git" } ] ```

actually, you don't really need ZeroMQ. you can connect and publish directly to the Ratchet ws server from your pushing script, you only need a php ws client like this...