PHP code example of apility / webpack-assets

1. Go to this page and download the library: Download apility/webpack-assets 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/ */

    

apility / webpack-assets example snippets



use Apility\WebpackAssets\WebpackAssets;

$manifest = "path/to/manifest.json";

$options = [
  'entrypointName' => 'app',
  'preload' => true,
  'integrity' => false,
  'basePath' => null,
];

$webpackAssets = new WebpackAssets($manifest, $options);