Hi everyone!
I’m writing an extension to integrate a TastyIgniter installation with Sendy, and one of the features I need to implement is the option of creating a PDF with menu items from a specific category.
I was able to pretty much implement everything I needed except the PDF part, I’m stuck on trying to get a PDF package installed for my extension, I’m trying to use the barryvdh/laravel-snappy
package.
So this is what I’ve basically done so far:
- I created a
composer.json
file with the required packaged in it (see more below)
- I uninstalled and then re-install the extension in System > Extensions
- No vendor package shows up on the extension folder
If that’s not how it’s supposed to work can someone point me in the right direction? I’ve checked the smsnotify
extension which I see has a composer.json
and a composer.lock
files, and a vendor
folder is created when the extension is installed.
The other thing I wanted to ask is also, how do I use the package once it’s installed, is it autodiscovered by TI or do I need to do something manually?
Thank you!
** composer.json
{
"name": "borealishq/dailyspecials",
"type": "tastyigniter-extension",
"keywords": [
"tastyigniter",
"daily",
"specials"
],
"license": "MIT",
"require": {
"barryvdh/laravel-snappy": "^0.4.8"
}
}