PHP code example of hawksama / magento-2-pdf-invoice-generator

1. Go to this page and download the library: Download hawksama/magento-2-pdf-invoice-generator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hawksama / magento-2-pdf-invoice-generator example snippets


composer magento setup:upgrade;
php bin/magento setup:di:compile;

composer update hawksama/magento-2-pdf-invoice-generator;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;

php bin/magento module:disable Hawksama_Invoice ;
php bin/magento cache:flush;
php bin/magento cache:clean;