Difference between #222 and #223 of
Yii v2 snippet guide

Revision #223 has been created by rackycz on Aug 20, 2020, 8:42:59 AM with the memo:

xdebug
« previous (#222) next (#224) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
xdebug.remote_autostart=on
```

Quotes were not important. I didnt even need to [download](https://xdebug.org/download) current version of xdebug, it was already in folder C:\xampp\php\ext.

Then you just add a breakpoint, click the debug-play button in NetBeans and refresh your browser. Netbeans will stop the code for you.
 
 
**PDF - no UTF, only English chars**
---
For creating PDFs can be used [FPDF](http://www.fpdf.org) library. It is extremely simple to make it run. Just download it and then use it as a helper - I described how this is done [above](https://www.yiiframework.com/wiki/2552/yii-v2-snippet-guide#creating-your-new-helper-class). Do not forget to add namespace to FPDF.php.

You will only need **FPDF.php** and folder **font**. Then in your controller just do this:
[...]
7 0
4 followers
Viewed: 274 809 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history