Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maknz/slack doesn't support Laravel 5.4 #9

Closed
Mopster opened this issue Mar 6, 2017 · 2 comments
Closed

maknz/slack doesn't support Laravel 5.4 #9

Mopster opened this issue Mar 6, 2017 · 2 comments

Comments

@Mopster
Copy link

Mopster commented Mar 6, 2017

Looks like maknz/slack doesn't support Laravel 5.4 and is no longer actively maintained. Checking the repository, the author added Note: this package is no longer being actively maintained. about 10 days ago.

Getting the following error :

 [Symfony\Component\Debug\Exception\FatalErrorException]            
 Call to undefined method Illuminate\Foundation\Application::share()
[2017-03-06 15:14:25] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Illuminate\Foundation\Application::share()' in C:\laragon\www\broadsoft\vendor\maknz\slack\src\SlackServiceProviderLaravel5.php:27

I see a few forks that fix the 5.4 issue.

@rikeda001
Copy link
Contributor

Thanks for the information! Since they do not have time to maintain the package (maknz/slack#82), we created customized SlackServiceProvider class that is simply changed share() to singleton().
We are planning to fork the package if other issue happens.

To use the customized Service Provider, please change
Maknz\Slack\SlackServiceProvider::class
to
Notify\Laravel\SlackServiceProvider::class
for 'provider' in config/app.php.

Let me know if other issue happens.

@IvandaNothabeer
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants