Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:yii2:yii_2.0_third_party_components [2017/11/17 09:31] smayr [Mermaid JS support] |
systems:yii2:yii_2.0_third_party_components [2018/02/05 14:42] (current) smayr [PHPOffice/PhpSpreadsheet] |
||
---|---|---|---|
Line 944: | Line 944: | ||
</ | </ | ||
- | == yii2-phpexcel PhpExcel == | + | == yii2-phpexcel PhpExcel |
Get documentation from: | Get documentation from: | ||
* [[https:// | * [[https:// | ||
Line 953: | Line 953: | ||
</ | </ | ||
+ | == PHPOffice/ | ||
+ | Get documentation from: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | Install the extension: | ||
+ | <code bash> | ||
+ | $ composer require phpoffice/ | ||
+ | </ | ||
+ | |||
+ | Example: | ||
+ | <code php> | ||
+ | <?php | ||
+ | |||
+ | require ' | ||
+ | |||
+ | use PhpOffice\PhpSpreadsheet\Spreadsheet; | ||
+ | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; | ||
+ | |||
+ | $spreadsheet = new Spreadsheet(); | ||
+ | $sheet = $spreadsheet-> | ||
+ | $sheet-> | ||
+ | |||
+ | $writer = new Xlsx($spreadsheet); | ||
+ | $writer-> | ||
+ | </ | ||
== DatePicker == | == DatePicker == | ||
* run in your project dir: < | * run in your project dir: < | ||
Line 1664: | Line 1690: | ||
</ | </ | ||
- | Add '' | + | Add '' |
<code php> | <code php> | ||
- | <div class= ' | + | <div class=' |
graph TD; | graph TD; | ||
A-->B; | A-->B; | ||
Line 1674: | Line 1700: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | == Yii2 Shopping Cart == | ||
+ | * [[https:// | ||
+ | * [[https:// |