barryvdh / elfinder-flysystem-driver

elFinder driver for Flysystem
183 stars 41 forks source link

Class 'League\Glide\Http\UrlBuilderFactory' not found #18

Open hotrush opened 8 years ago

hotrush commented 8 years ago

Seems need to update elfinder-flysystem-driver/src/Driver.php to make it works with glide 1.0.0+, change

use League\Glide\Http\UrlBuilderFactory;

to

use League\Glide\Url\UrlBuilderFactory;

I can make a pr if confirmed.

barryvdh commented 8 years ago

If you can upgrade to 1.0 and verify it works, a PR us very welcome :) Thanks!

hotrush commented 8 years ago

also found a problem with use League\Flysystem\Cached\CachedAdapter;, there is no such adapter in 1.0.* glide version and i have no ideas how to fix this

barryvdh commented 8 years ago

You can just add https://github.com/thephpleague/flysystem-cached-adapter to the suggest section, that has that class.