← PHP / Laravel · Contents

PHP-046 / Beginner

Running end-of-life framework versions (Laravel 8 or earlier, etc.)

A06:2021 Vulnerable and Outdated Components · CWE-1104 Unmaintained Third Party Components

Why is this a problem?

Versions no longer receiving security patches remain exposed to new vulnerabilities.

How to fix it

bash
# Plan an upgrade to a supported LTS release line; https://laravel.com/docs/releases check support periods there
composer require laravel/framework:^11.0 --update-with-dependencies

Further reading