Hi Guys, I'm executing composer install command getting following error, anyone knows the solution. I'm new to Laravel.
`
`Package zendframework/zend-json is abandoned, you should avoid using it. Use laminas/laminas-json instead. Package zendframework/zend-stdlib is abandoned, you should avoid using it. Use laminas/laminas-stdlib instead. Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead. Package zendframework/zend-validator is abandoned, you should avoid using it. Use laminas/laminas-validator instead. Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead. Package zendframework/zend-uri is abandoned, you should avoid using it. Use laminas/laminas-uri instead. Package zendframework/zend-loader is abandoned, you should avoid using it. Use laminas/laminas-loader instead. Package zendframework/zend-http is abandoned, you should avoid using it. Use laminas/laminas-http instead. Package zendframework/zendservice-google-gcm is abandoned, you should avoid using it. No replacement was suggested. Package zendframework/zendservice-apple-apns is abandoned, you should avoid using it. No replacement was suggested. Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead. Package laravel/cashier-braintree is abandoned, you should avoid using it. Use braintree/braintree_php instead. Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead. Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package jeremeamia/superclosure is abandoned, you should avoid using it. Use opis/closure instead. Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested. Writing lock file Generating optimized autoload files Deprecation Notice: Class PHPExcel_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\bestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 Deprecation Notice: Class PHPExcel_Exponential_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\exponentialBestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 Deprecation Notice: Class PHPExcel_Linear_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\linearBestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 Deprecation Notice: Class PHPExcel_Logarithmic_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\logarithmicBestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 Deprecation Notice: Class PHPExcel_Polynomial_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\polynomialBestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 Deprecation Notice: Class PHPExcel_Power_Best_Fit located in C:/xampp/htdocs/leteats_web/vendor/phpoffice/phpexcel/Classes\PHPExcel\Shared\trend\powerBestFitClass.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201``
Those are warnings and notices, no errors. You can continue using them.
You're probably working on an older project, maybe you follow a tutorial from a few years ago. What composer is saying is that some of the dependencies (open source code) has changed its official name or that newer versions of the dependency removed/renamed/changed some class.
Composer might still successfully install the dependencies. After you complete all setup steps run 'composer test' and see if it executes.
To get rid of some warnings/notices you can do 'composer update', but that could break your project because newer versions of some of the dependencies might have backward compatibility issues.
Please mark the thread as resolved if everything is working fine.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community