This Laravel package is meant for internal purposes of the Pro Sales AG only - no external support.
THIS PACKAGE IS MEANT FOR INTERNAL USAGE WITHIN THE PRO SALES AG! NO SUPPORT FOR OTHERS - WE ARE SORRY!
This package utilizes Composer to manage its PHP dependencies. So, before using PS-Laravel Customer Canvas VDP, make sure you have installed the latest version of Composer on your machine:
Please use the
composer self-update command frequently, in order
to update Composer to its latest version.
Please choose the professional server (v5.0) and run the installation. In our case we use the on-premises solution but you are also free to use the cloud version. Please checkout the following page in order to receive further information: https://customerscanvas.com/docs/cc/evaluating-product-on-development-computer.htm.
This package is meant to use the VDP add-on, hence you must ensure that you have enabled the VDP add-on (v5.0) on your customer canvas server.
Listed below you will find the required PHP extensions. Please use the
php -m command to check if the following PHP extensions are enabled:
Use Composer in order to install the package:
composer require prosales/laravel-vdp-studio
Set the following configuration within your DotEnv file (
Please don't forget to change the values with your own credentials.
Returns a Laravel collection that list all available design files.
By default we are using the
default user you can change this using:
$design = VdpStudio::getDesign('samples/name-photo'); $design->setText('Last.Name', 'Mickey'); $design->setTexts([ 'First Name' => 'Mickey', 'test' => [ 'me' => 'TEST ME' ] ]); $design->setImages([ 'photo' => 'https://upload.wikimedia.org/wikipedia/commons/4/4e/Docker_%28container_engine%29_logo.svg', 'PHOTO' => [ '2' => 'https://i.ytimg.com/vi/bseyU2PvBQo/maxresdefault.jpg' ] ]); return $design->store(storage_path('pdfs/user/1/test.pdf'));
|PACKAGE VERSION||LARAVEL VERSION||PHP VERSION||SUPPORT|
|1.0||5.5||7.0.0||Pro Sales AG only!|
This open source package is available under the MIT license.
© Copyright 2020, Pro Sales AG (firstname.lastname@example.org) - All rights reserved.