https://github.com/inquid/yii-woo-pdf-catalog
Yii Woocommerce pdf generator
https://github.com/inquid/yii-woo-pdf-catalog
Last synced: 4 months ago
JSON representation
Yii Woocommerce pdf generator
- Host: GitHub
- URL: https://github.com/inquid/yii-woo-pdf-catalog
- Owner: inquid
- Created: 2018-12-10T03:25:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-10T03:28:24.000Z (over 6 years ago)
- Last Synced: 2024-12-29T14:37:07.984Z (6 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii Woocommerce Catalog
=======================
Create a PDF catalog of your store to send to your clients through whatsappInstallation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist inquid/yii-woocommerce-catalog "dev-master"
```or add
```
"inquid/yii-woocommerce-catalog": "dev-master"
```to the require section of your `composer.json` file.
Configure in your config file:
```
$config = [
// ...
'components' => [
'yiiwoocatalog' => [
'class' => 'inquid\yiiwoocatalog\CreateCatalog',
'domain' => 'DOMAIN...',
'key' => 'KEY...',
'secret' => 'SECRET...',
],
```Usage
-----Once the extension is installed, simply use it in your controller action :
```php
= Yii::$app->yiiwoocatalog->getPdf(); ?>
```