Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GodziLaravel's avatar

Composer update error

Hello ,

I have this error when I update the composer :

after running :

composer remove janhenkes/teamleader-php-sdk

I got this :

vagrant@homestead:~/code/crm$ composer remove janhenkes/teamleader-php-sdk
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 0 updates, 1 removal
  - Removing janhenkes/teamleader-php-sdk (1.2.5)
Writing lock file
Generating optimized autoload files
PHP Parse error:  syntax error, unexpected ''/beyondcode/laravel-dump-serv' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/crm/vendor/composer/autoload_psr4.php on line 78

Parse error: syntax error, unexpected ''/beyondcode/laravel-dump-serv' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/crm/vendor/composer/autoload_psr4.php on line 78

and now every time when I update composer:

vagrant@homestead:~/code/crm$ composer update
    1/1:        http://repo.packagist.org/p/provider-latest$eaae99573b76991810d74562355f1762beb5b0796164ec534480029ca6eb9b41.json
    Finished: success: 1, skipped: 0, failure: 0, total: 1
Loading composer repositories with package information
Updating dependencies (including require-dev)
    1/17:       https://codeload.github.com/fideloper/TrustedProxy/legacy.zip/39a4c2165e578bc771f5dc031c273210a3a9b6d2
    2/17:       https://codeload.github.com/laravel/tinker/legacy.zip/eb0075527fdeeb1cc1d68bd4ca7d50256b30a827
    3/17:       https://codeload.github.com/laravel/socialite/legacy.zip/ab5974b13b775e14d11f220064a110d60743eee0
    4/17:       https://codeload.github.com/doctrine/lexer/legacy.zip/e17f069ede36f7534b95adec71910ed1b49c74ea
    5/17:       https://codeload.github.com/symfony/debug/legacy.zip/527887c3858a2462b0137662c74837288b998ee3
    6/17:       https://codeload.github.com/symfony/finder/legacy.zip/9638d41e3729459860bb96f6247ccb61faaa45f2
    7/17:       https://codeload.github.com/symfony/event-dispatcher/legacy.zip/212b020949331b6531250584531363844b34a94e
    8/17:       https://codeload.github.com/symfony/http-kernel/legacy.zip/a414548d236ddd8fa3df52367d583e82339c5e95
    9/17:       https://codeload.github.com/symfony/http-foundation/legacy.zip/8b778ee0c27731105fbf1535f51793ad1ae0ba2b
    10/17:      https://codeload.github.com/symfony/css-selector/legacy.zip/105c98bb0c5d8635bea056135304bd8edcc42b4d
    11/17:      https://codeload.github.com/symfony/translation/legacy.zip/4e3e39cc485304f807622bdc64938e4633396406
    12/17:      https://codeload.github.com/symfony/routing/legacy.zip/a88c47a5861549f5dc1197660818084c3b67d773
    13/17:      https://codeload.github.com/briannesbitt/Carbon/legacy.zip/1a0e48b5f656065ba3c265b058b25d36c2162a5e
    14/17:      https://codeload.github.com/symfony/var-dumper/legacy.zip/e4110b992d2cbe198d7d3b244d079c1c58761d07
    15/17:      https://codeload.github.com/symfony/mime/legacy.zip/6b7148029b1dd5eda1502064f06d01357b7b2d8b
    16/17:      https://codeload.github.com/laravel/framework/legacy.zip/7ccf0cf63931a8d8391aed90e6fc011381ea6838
    17/17:      https://codeload.github.com/symfony/console/legacy.zip/8b0ae5742ce9aaa8b0075665862c1ca397d1c1d9
    Finished: success: 17, skipped: 0, failure: 0, total: 17
Package operations: 0 installs, 18 updates, 0 removals
  - Updating symfony/css-selector (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/var-dumper (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/routing (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/process (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/mime (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/http-foundation (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/event-dispatcher (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/debug (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/http-kernel (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/finder (v4.3.2 => v4.3.3): Loading from cache
  - Updating symfony/console (v4.3.2 => v4.3.3): Loading from cache
  - Updating doctrine/lexer (1.0.2 => 1.1.0): Loading from cache
  - Updating symfony/translation (v4.3.2 => v4.3.3): Loading from cache
  - Updating nesbot/carbon (2.21.3 => 2.22.0): Loading from cache
  - Updating laravel/framework (v5.8.29 => v5.8.30): Loading from cache
  - Updating fideloper/proxy (4.1.0 => 4.2.0): Loading from cache
  - Updating laravel/socialite (v4.1.3 => v4.1.4): Loading from cache
  - Updating laravel/tinker (v1.0.8 => v1.0.9): Loading from cache
Writing lock file
Generating optimized autoload files
PHP Parse error:  syntax error, unexpected ''/beyondcode/laravel-dump-serv' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/crm/vendor/composer/autoload_psr4.php on line 78

Parse error: syntax error, unexpected ''/beyondcode/laravel-dump-serv' (T_ENCAPSED_AND_WHITESPACE) in /home/vagrant/code/crm/vendor/composer/autoload_psr4.php on line 78

0 likes
1 reply

Please or to participate in this conversation.