skip to Main Content

I want to install phpoffice/phpexcel in My Project.

When composer install or composer update, i receive error:

Package phpoffice/phpexcel is abandoned, you should avoid using it.
Use phpoffice/phpspreadsheet instead.

What is wrong with my project? Please help me. My project use PHP version 7.1.3 and Laravel version 5.7

2

Answers


  1. It means the project is not being maintained. you can still use if you want to.

    Login or Signup to reply.
  2. That message you are getting is just a warning, not an error so there is nothing wrong with your project. So you could ignore the warning and continue using the package with your current code.

    However, as the message said you should avoid using it because the package might stop working properly if you decide to update laravel, php or any other dependencies. And if it does stop working or you encountered a bug, there will no code maintainer to help you solve your issue.

    In your case, phpoffice/phpspreadsheet package actually provide a useful entry in their documentation to help you migrate to their package, so you should definitely give it a read as there are quite a few breaking changes if you decide to use their package.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search