sonus icon indicating copy to clipboard operation
sonus copied to clipboard

Laravel 5.1.1 Won't Install Sonus via Composer

Open nicholeous opened this issue 9 years ago • 11 comments

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.

nicholeous avatar Jun 15 '15 23:06 nicholeous

+1

miroshnik avatar Jul 01 '15 18:07 miroshnik

I'm having the same issue on Laravel 5.1.1

[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Closca\Sonus\SonusServiceProvider' not found

:(

bickle66 avatar Jul 05 '15 05:07 bickle66

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.

ddunford avatar Jul 06 '15 20:07 ddunford

+1, no idea why this is happening. Tried recreating @dunfy 's commits, that didn't work either.

Ryangr0 avatar Aug 22 '15 10:08 Ryangr0

+1, same issue

0reo avatar Oct 03 '15 21:10 0reo

+1

ghost avatar Oct 07 '15 10:10 ghost

+1

cmbirk avatar Oct 29 '15 17:10 cmbirk

@dunfy would you create a pull request for this repo?

cmbirk avatar Oct 29 '15 17:10 cmbirk

+1

PoeHut avatar Oct 31 '15 05:10 PoeHut

+1

mecalac avatar Nov 25 '15 23:11 mecalac

Anyone solve this issue? Trying to get it installed on L5.1 and getting the same thing :(

shealan avatar Nov 29 '15 17:11 shealan