thephpleague / color-extractor

Extract colors from an image like a human would do.
thephpleague.com
MIT License
1.3k stars 159 forks source link

Doesn't work with Laravel 5.5 #50

Closed vertizontical closed 6 years ago

vertizontical commented 6 years ago

I installed via Composer, then added the following to my config/app.php file:

'provider' => [ ...... League\ColorExtractor\Laravel\ColorExtractorServiceProvider::class, ],

'aliases' => [ ....... 'ColorExtractor' => League\ColorExtractor\Laravel\ColorExtractorFacade::class, ],

But I get the following error: Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'League\ColorExtractor\Laravel\ColorExtractorServiceProvider' not found

MatTheCat commented 6 years ago

Where did you see Laravel mentionned in the README? Since 0.2 you don't need any provider.