PHP Upgrade Error - Debian 11

I ran this prior to my post, though I forgot to mention. I ran it again, which returned:

librenms@libre:~$ ./scripts/composer_wrapper.php install --no-dev
> LibreNMS\ComposerHelper::preInstall
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package php-cs-fixer/diff is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
PHP Fatal error:  Uncaught Error: Class "App\Application" not found in /opt/librenms/bootstrap/app.php:14
Stack trace:
#0 /opt/librenms/artisan(20): require_once()
#1 {main}
  thrown in /opt/librenms/bootstrap/app.php on line 14
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255