Error trying to install elibyy / tcpdf-laravel by composer

0

I want to install the tcpdf-laravel package, for them I execute the command composer require elibyy/tcpdf-laravel this throws me the following error:

NOTE: What appears before executing the command is to run composer update to see if updating if you installed tcpdf , but not: '(.

    
asked by Pablo Contreras 22.06.2017 в 21:43
source

1 answer

0

The problem is that version 5.4 is for laravel 5.4 , because it requires the latest version of laravel collective and laravel collective of another version and blah blah blah, in short, the solution was to modify the file composer.json and specify the package version

{
    "require": {
        "elibyy/tcpdf-laravel": "5.3.*"
    }
}
.

Or you can also update laravel a 5.4 .

    
answered by 22.06.2017 / 23:03
source