Closed manuel-84 closed 4 years ago
Please check v1.3.0
On Laravel 8 the problem is identical, with robertogallea / laravel-Codicefiscale version 1.4.1
Hi, @DoctorAlfred are you sure? I just tried with a fresh L8 install and it goes smooth.
Sorry I forgot to omit that I use PHP v8! On PHP 8 it doesn't work ...
I use PHP 8 too, the composer dependency is
"require": {
"php": ">=7.1",
}
so any version equal to 7.1 or above should work. What's the composer output?
The same indicated in the first post !!!
at D:\Source\Repos\homelyfe\vendor\robertogallea\laravel-codicefiscale\src\CodiceFiscaleServiceProvider.php:34 30▕ $this->app->singleton(CodiceFiscale::class, function () { 31▕ $decoder = config('codicefiscale.city-decoder'); 32▕ 33▕ return new CodiceFiscale( ➜ 34▕ new $decoder() 35▕ ); 36▕ }); 37▕ } 38▕
1 D:\Source\Repos\homelyfe\vendor\laravel\framework\src\Illuminate\Container\Container.php:826 robertogallea\LaravelCodiceFiscale\CodiceFiscaleServiceProvider::robertogallea\LaravelCodiceFiscale{closure}(Object(Illuminate\Foundation\Application), [])
2 D:\Source\Repos\homelyfe\vendor\laravel\framework\src\Illuminate\Container\Container.php:712 Illuminate\Container\Container::build(Object(Closure))
I am sorry, I can't reproduce your issue.
Installation fails on laravel 6.x. This is the log: