Closed mihailbishkek closed 5 years ago
@mihailbishkek looks like you're using Windows. You can try using the Windows branch of the plugin https://github.com/LukeTowers/oc-snappypdf-plugin/tree/windows-support and see if you can get that working fully. If you can, then please make any required PRs and confirm that the branch is ready to be merged into master.
@LukeTowers Yes, I am use it on Windows.
I clone windows-support tree, and install this package to plugins\luketowers\snappypdf\vendor\wkhtmltopdf\
I just have this error:
My config is
'pdf' => array(
'enabled' => true,
'binary' => env('SNAPPY_PDF_BINARY', plugins_path('luketowers/snappypdf/vendor/wkhtmltopdf/bin/wkhtmltopdf.exe')),
'timeout' => false,
'options' => array(),
'env' => array(),
),
'image' => array(
'enabled' => true,
'binary' => env('SNAPPY_IMAGE_BINARY', plugins_path('luketowers/snappypdf/vendor/wkhtmltopdf/bin/wkhtmltoimage.exe')),
'timeout' => false,
'options' => array(),
'env' => array(),
),
],```
@mihailbishkek did you try running php artisan october:env
to generate a .env file and then specifying the config using ENV vars instead of the config file? It's possible that the config file isn't properly used when detecting the binary path to use while the .env file is fully supported.
I make .env file. And now I have this error:
@mihailbishkek make sure that the path is an absolute path, you're still using a local one.
I tried all the ways, and it’s impossible to install. Please, help....
Composer return error:
Plugin after install return: