PHP code example of humanmade / hm-juicer

1. Go to this page and download the library: Download humanmade/hm-juicer 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/ */

    

humanmade / hm-juicer example snippets


define( 'JUICER_ID', 'myaccountname' );

define( 'JUICER_SITE_NAME', 'My Cool Site' );

define( 'JUICER_SHORT_URL', 'short.url' );
define( 'JUICER_LONG_URL', 'mydomain.com' );