Skip to content

Laravel 6 with composer 2 could not found Laravel-Exceptions classes #147

@hle-aashish

Description

@hle-aashish

We have a project with Laravel 6 with graham-campbell/exceptions version ^13.1. Recently we updated to Composer 2 and after the update, we are receiving the following issues:

Illuminate\Contracts\Container\BindingResolutionException
Target class [GrahamCampbell\Exceptions\ExceptionInfoInterface] does not exist.

Symfony\Component\Debug\Exception\FatalErrorException
Interface 'GrahamCampbell\Exceptions\Displayers\DisplayerInterface' not found

Illuminate\Contracts\Container\BindingResolutionException
Target class [GrahamCampbell\Exceptions\Transformers\ModelTransformer] does not exist.

It may be due to the upgrade of Composer to version 2. How can we fix these issues? Please, any solution is highly appreciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions