phpgearbox / pdf

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

gears/string #6

Open jasonhoo95 opened 7 years ago

jasonhoo95 commented 7 years ago

Hi brad I have this issues with your library and I dont know what is wrong? Uncaught Error: Class 'Gears\String' not found in /Applications/XAMPP/xamppfiles/htdocs/docx2pdf/vendor/gears/pdf/src/Pdf.php:124 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/docx2pdf/vendor/gears/pdf/src/Pdf.php(161): Gears\Pdf->__construct('/Applications/X...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/docx2pdf/index.php(6): Gears\Pdf::convert('/Applications/X...') #2 {main} thrown in

hasanhameed07 commented 7 years ago

Having the same error while using php 7. Is library compatible with php 7?

ledzgio commented 7 years ago

Same problem here, any fix?

netizenking commented 7 years ago

Refactoring of Gears\String migrated Gears String to Gears\String\Str so ensure that you update this library's composer.json or change any instances of use Gears\String as Str; to use Gears\String\Str. That solves this problem but introduces another one. Check on this library issues! Thank you

ibarracjuan commented 6 years ago

Is there any plan to fix this issue?