Description
Hi there!
I tried to install closca/sonus with composer to a laravel 5.1.1 app and received the following error during setup.
[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Closca\Sonus\SonusServiceProvider' not found
Detailed step by step:
I updated my composer file with: "closca/sonus": "dev-l5"
I then ran composer update
and followed with composer dump-autoload
and php artisan optimize
I then added my provider and alias in the config file and attempted to run the following (all had the same error)
php artisan config:publish Closca/Sonus
php artisan config:publish Closca\Sonus
php artisan config:publish closca/sonus
php artisan config:publish closca\sonus
Which throws a:
[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Closca\Sonus\SonusServiceProvider' not found
:(
I verified that the namespaces are correct in all places they're referenced.
Finally, I tried removing the alias and provider and running composer clear-cache
and restarting the process to no avail.