phpgearbox / pdf

A PDF builder using HTML or DOCX templates.
MIT License
180 stars 112 forks source link

Gears\String class not found. #3

Open samsullivan opened 8 years ago

samsullivan commented 8 years ago

The master branch of phpgearbox/string is being refactored (as I'm sure you know) and Gears\String has moved to Gears\String\Str. Can you either be more specific in this library's composer.json or change any instances of use Gears\String as Str; to use Gears\String\Str.

Thanks!

brad-jones commented 8 years ago

I have not yet tagged a new release of Gears\String yet so in theory composer should be downloading the last tagged release which should work fine. Unless of course your minimum-stability setting is set to dev i guess.

brad-jones commented 8 years ago

The composer requirements have been updated in the master branch: f3b8b7c179ba09d9c6171673ac2d10f006a64fa8

samsullivan commented 8 years ago

Ah, that would be it.

And thanks for the quick answer and resolution!

andybingham commented 7 years ago

I had to add "gears/string": "0.6.0", to composer.json to get gears/pdf to work again after hitting this issue.

ledzgio commented 7 years ago

I am still having this issue, I don't know how to fix it. I am using "gears/pdf": "*" in my composer but I always get the Not Found error, what can I do?

thank you

mgm1338 commented 7 years ago

Ledzgio, adding in the

"gears/string": "^0.6.0", gears/pdf": "*"

resolved the issue on my end.