Closed its4nas closed 2 months ago
Hello Anas,
Thank you for reaching out, could you please provide the following details:
My PHP version is 8.2.4
I use Laravel 10
Hello Anas,
Thank you for providing the details. I wanted to inform you that yoeunes/toastr
is now a deprecated package. It primarily serves as a means to seamlessly integrate PHPFlasher
into projects. The error you are encountering may be due to the fact that you are using Laravel 10, which is not compatible with the latest version of yoeunes/toastr
.
To address this, I recommend installing version 2 of yoeunes/toastr
, which is compatible with Laravel 10. You can do this by running the following command:
composer require yoeunes/toastr:^2.3
For future projects, consider directly using PHPFlasher
, as yoeunes/toastr
in its newer versions (v3 and above) will primarily act as a wrapper for installing PHPFlasher
. The newer versions are compatible with Laravel v11.
If you have further questions or need additional assistance, please feel free to reach out.
Best regards, Younes
Thank you, brother, it works with version 2.3 I will try to add PHPFlasher in the next project.
Salamou 3alaykoum Anas, i'm glad it works
When I try to install the last version of toastr I get the following error
Installation failed, reverting ./composer.json and ./composer.lock to their original content. so I can't get the last version of toastr.