Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zend framework 3 and phpword issue #1044

Closed
peopzen opened this issue Apr 12, 2017 · 7 comments
Closed

Zend framework 3 and phpword issue #1044

peopzen opened this issue Apr 12, 2017 · 7 comments

Comments

@peopzen
Copy link

peopzen commented Apr 12, 2017

Just downloaded Zend framework 3 skeleton applications by "composer", and tried to add phpword component. Unfortunately, the skeleton application comes with Zend-escaper 2.5.2, while phpword requires 2.4.*. Couldn't get phpword installed. Any suggestions? Thanks.

dsnopek added a commit to dsnopek/PHPWord that referenced this issue Jul 17, 2017
dsnopek added a commit to dsnopek/PHPWord that referenced this issue Jul 17, 2017
dsnopek added a commit to dsnopek/PHPWord that referenced this issue Jul 17, 2017
@jarrettj
Copy link

jarrettj commented Aug 3, 2017

I'm also waiting :|

@Yamakasi
Copy link

Yamakasi commented Aug 16, 2017

Here it fails on Zend-validator instead of escaper for 2.4.x

For the time being just recuire_once() phpword from some seperate folder.

@troosan
Copy link
Contributor

troosan commented Sep 11, 2017

fixed with #1138

@troosan troosan closed this as completed Sep 11, 2017
@Yamakasi
Copy link

Yamakasi commented Sep 17, 2017

If you ask me this is not fixed yet:

#composer require phpoffice/phpword
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.13.0 for phpoffice/phpword
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpoffice/phpword ^0.13.0 -> satisfiable by phpoffice/phpword[v0.13.0].
- phpoffice/phpword v0.13.0 requires zendframework/zend-validator 2.4.* -> satisfiable by zendframework/zend-validator[2.4.0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0rc5, 2.4.0rc6, 2.4.0rc7, 2.4.1, 2.4.10, 2.4.11, 2.4.12, 2.4.13, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9] but these conflict with your requirements or minimum-stability.

Installation failed, reverting ./composer.json to its original content.

@Yamakasi
Copy link

Anyone able too look into this ?

@troosan
Copy link
Contributor

troosan commented Sep 25, 2017

That's because it is fixed in the current development branch. It will be in 0.14

@Yamakasi
Copy link

OK, thanks for that!

Can I update using composer to the development branch ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants