robertogallea / laravel-codicefiscale

Codice fiscale validation for php/laravel
MIT License
42 stars 16 forks source link

Installation failure laravel 8, PHP 7.4 #20

Closed i1990jain closed 3 years ago

i1990jain commented 3 years ago

image

I am unable to install the package, as the installation fails with this error. I am using laravel 8 and PHP 7.4

robertogallea commented 3 years ago

Hi, is this a fresh package installation or an update? If it is an update, check you have a city-decoder class inside your codicefiscale.php config file

i1990jain commented 3 years ago

Hi, is this a fresh package installation or an update? If it is an update, check you have a city-decoder class inside your codicefiscale.php config file

its a fresh package installation

robertogallea commented 3 years ago

Ok, tomorrow in the morning I'll check if something broke in the latest version. Thanks.

robertogallea commented 3 years ago

Hi, I created a brand new L8 application using php7.4 and cannot reproduce your issue:

$ php -v
PHP 7.4.18 (cli) (built: May  3 2021 11:26:48) ( NTS )

$ laravel new test-cf
Installing laravel/laravel (v8.5.17)

...

$ composer require robertogallea/laravel-codicefiscale
Using version ^1.6 for robertogallea/laravel-codicefiscale
./composer.json has been updated
Running composer update robertogallea/laravel-codicefiscale
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking robertogallea/laravel-codicefiscale (1.6.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading robertogallea/laravel-codicefiscale (1.6.1)
  - Installing robertogallea/laravel-codicefiscale (1.6.1): Extracting archive

...

Discovered Package: robertogallea/laravel-codicefiscale
Package manifest generated successfully.

Could you please provide more details?