PHP code example of heimrichhannot-contao-components / masonry

1. Go to this page and download the library: Download heimrichhannot-contao-components/masonry 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/ */

    

heimrichhannot-contao-components / masonry example snippets


$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/masonry/dist/masonry.pkgd.min.js|static';

$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/components/masonry/dist/masonry.pkgd.min.js|static';