1. Go to this page and download the library: Download gckabir/organizer 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/ */
$js = \Gckabir\Organizer\OZR::organizeJS('homepage-js', [
'javascript1',
'javascript2',
]);
// Additional files could be added like this
$js->add([
'javascript3',
'javascript4'
]);
// merge all files & build the bundle
$js->build();