Daanra / laravel-lets-encrypt

Let's Encrypt wrapper for Laravel
MIT License
200 stars 28 forks source link

In which php version this package was tested? #12

Closed abublihi closed 2 years ago

abublihi commented 2 years ago

Hi, thank you fro the awesome package.

I have tried to install the package in laravel 5.5 project but not working. so i am wondering in which php version it was tested?

if you wondering what the errors: PHP Error: Call to undefined method Daanra/LaravelLetsEncrypt/Jobs/RegisterAccount::dispatchNow() second error BadMethodCallException with message 'Method ensureDirectoryExists does not exist.

Daanra commented 2 years ago

@abublihi EDIT: What's your Laravel version? dispatchNow was added to Laravel in v5.6.8. https://github.com/laravel/framework/commit/ab526b7d8fc565314f20c840c7398096b9ec9b94

I will update the requirements in composer.json to reflect this.

abublihi commented 2 years ago

Thank you for the quick response,

Iam using 2.4 with laravel 5.5, so I have to update to laravel 5.6.

Yes please update the requirements in composer.json