Generate Pdf Cakephp 1.3
- Welcome to the Cookbook, the CakePHP documentation. The Cookbook is a wiki-like system allowing contributions from the public. With an open system, we hope to maintain a high level of quality, validity, and accuracy for the CakePHP documentation. The Cookbook also makes it easy for anybody to contribute.
- CakePHP framework and secure a position with FreshBooks as a front-end developer. Mark's design background and skills in development produce a unique combination of attention to detail, technical expertise, and, above all, patience.
Fratres. Generate PDF files with the CakePHP. Contribute to anklimsk/cakephp-tcpdf development by creating an account on GitHub. Generate PDF in CakePHP 3.x with CakePDF And DomPDF. There is the possibility to generate an 'only for download' or 'only for print' file? (which doesn't need to be saved on server) cakephp pdf pdf-generation cakephp-3.0 cakephp-3.1.
I'm using CakePHP
v3.x, how can I generate a PDF file?
There is the possibility to generate an 'only for download' or 'only for print' file? (which doesn't need to be saved on server)
marian01 Answer
How can I generate a pdf using CakePhp v3.x?
Here's a plugin for this: https://github.com/FriendsOfCake/CakePdf
Not the answer you're looking for? Browse other questions tagged cakephppdfpdf-generationcakephp-3.0cakephp-3.1 or ask your own question.
Can I run CakePHP 1.3 with PHP7? I have to do a migration to PHP7, but in the hosting there is a project in CakePHP 1.3 and need to know if there is any risk if I run this project in this version of PHP.
3 Answers
Unfortunately CakePHP 1.3 is not really compatible with PHP7 out of the box. I work on a old project in CakePHP 1.3 and my system upgraded to PHP7. There are a lot of these in the core of CakePHP 1.3
After changing these, I ran into the next batch of errors, after which I rolled back and postponed the upgrade.
So to answer the question, it would be rather risky upgrading to PHP7 if there is a CakePHP 1.3 project.
If you are still looking for a CakePHP 1.3 port to PHP7, you are in luck!
I've ported CakePHP 1.3.21 to PHP 7.3, you can check it out on GitHub.
Please pay attention to the readme, as it naturally requires changes to your own code as well!
Cakephp Install
I had to migrate a CakePHP 1.3 project to PHP7 and the only thing I did was find the 'String' class and using PhpStorm's rename all occurrences feature I renamed it to 'String_Renamed' that fixed the errors and everything worked afterwards. I've had no issues since.
Petar VasilevPetar Vasilev