zerospam / laravel-gettext

Adds localization support to laravel applications using PoEdit and GNU-Gettext.
99 stars 56 forks source link

Laravel 5.5 compatibility #4

Closed andreich1980 closed 7 years ago

andreich1980 commented 7 years ago

Thank you very much for the fork for L5.4 version 👍 Now it's the time for 5.5 :)

Error when run a command php artisan gettext:update

  [ReflectionException]
  Method Xinax\LaravelGettext\Commands\GettextUpdate::handle() does not exist

According to this https://laravel.com/docs/5.5/upgrade fire methods have to be renamed to handle.

It worked for me. Would you make the changes?

Belphemur commented 7 years ago

Hello @andreich1980

Thanks for the report, I had already a branch ready for this. I'm going to release it with the fixes.

codiiv commented 7 years ago

@andreich1980 You just saved me maybe a few minutes of work. I run into the issue exactly as you and changing fire to handle worked also for me. @Belphemur Keep the good job up!

Belphemur commented 7 years ago

The version 6.0.0 should have all the fixes for laravel 5.5