mirror of
https://github.com/anikeen-com/id.git
synced 2026-11-04 22:59:41 +00:00
Require patched Laravel and php-jwt versions
Raise the minimum versions so installs can no longer resolve releases with known advisories (Dependabot alerts): - laravel/framework / illuminate/*: ^12.69|^13.0 (TokenGuard auth bypass, CRLF injection in the email rule, signed URL path confusion, debug page XSS). Laravel 11 is end of life and gets no fixes, so support for it is dropped. - firebase/php-jwt: ^7.0 (weak encryption in 6.x). - orchestra/testbench: ^10.0|^11.0 to match. Tests pass with both the lowest and the highest allowed versions.
This commit is contained in:
3 files changed
+9
-9
No files matched your search
@@ -4,7 +4,7 @@
|
||||
[](https://packagist.org/packages/anikeen/id)
|
||||
[](https://packagist.org/packages/anikeen/id)
|
||||
|
||||
PHP Anikeen ID API Client for Laravel 11+
|
||||
PHP Anikeen ID API Client for Laravel 12+
|
||||
|
||||
Sign in with Anikeen ID and let your users pay with their Anikeen ID account: one-off orders,
|
||||
subscriptions and physical goods, with invoices, VAT and payment handled by Anikeen ID.
|
||||
@@ -71,7 +71,7 @@ Add to `config/services.php` file:
|
||||
|
||||
### Event Listener
|
||||
|
||||
In Laravel 11, the default EventServiceProvider provider was removed. Instead, add the listener using the listen method on the Event facade, in your `AppServiceProvider` boot method:
|
||||
Since Laravel 11, the default EventServiceProvider provider was removed. Instead, add the listener using the listen method on the Event facade, in your `AppServiceProvider` boot method:
|
||||
|
||||
```php
|
||||
public function boot(): void
|
||||
|
||||
Reference in new issue
Block a user