MyWiki | PHP | Установка библиотеки html2pdf
Установка библиотеки html2pdf

Download Composer

Run this in your terminal to get the latest Composer version:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'aa96f26c2b67226a324c27919f1eb05f21c248b987e6195cad9690d5c1ff713d53020a02ac8c217dbf90a7eacc9d141d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

This installer script will simply check some php.ini settings, warn you if they are set incorrectly, and then download the latest composer.phar in the current directory. The 4 lines above will, in order:

  • Download the installer to the current directory
  • Verify the installer SHA-384 which you can also cross-check here
  • Run the installer
  • Remove the installer

Download HTML2PDF

 

Version: 4.5.0
Publication date: 2015-12-18

 

By downloading this file, you accept the fact that I cannot be held responsible for any data loss
or damage to your hardware resulting from the use of any of my programs.

 

 
 

vladimir-N250P-N145P html2pdf # php /home/vladimir/composer.phar install

 

Переглядів: 77
Дата публікації: 21:05 22.11.2016