sonus
sonus copied to clipboard
Laravel 5.1.1 Won't Install Sonus via Composer
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.
+1
I'm having the same issue on Laravel 5.1.1
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Closca\Sonus\SonusServiceProvider' not found
:(
Guys, I have a working copy over here: https://github.com/dunfy/sonus
I'm NOT maintaining it though, I had to fork it and fix it so I can use it in my own project.
+1, no idea why this is happening. Tried recreating @dunfy 's commits, that didn't work either.
+1, same issue
+1
+1
@dunfy would you create a pull request for this repo?
+1
+1
Anyone solve this issue? Trying to get it installed on L5.1 and getting the same thing :(