Hi Carlos,
PHPWord is licensed under LGPL. You may modify and redistribute any parts of this library for commercial purpose, but you have to provide the source code for that part ONLY. Not your whole application.
If you want to protect other parts of your application, you may need to adjust the way you structure your code so that the parts that you have to give away contain minimum amount of intellectual property that you want to protect.
PHPWord is licensed under LGPL. You may modify and redistribute any parts of this library for commercial purpose, but you have to provide the source code for that part ONLY. Not your whole application.
If you want to protect other parts of your application, you may need to adjust the way you structure your code so that the parts that you have to give away contain minimum amount of intellectual property that you want to protect.