If you use composer, add itkg/profiler as a dependency to the composer.json of your application
"require": {
...
"itkg/profiler": "dev-master"
...
},
To install assets in your web directory with composer, you can add this lines :
"extra": {
"itkg_profiler_asset_dir": "path/to/your/web/directory"
},
"scripts": {
"post-update-cmd": "Itkg\\Profiler\\Composer\\Installer::copyAssets",
"post-install-cmd": "Itkg\\Profiler\\Composer\\Installer::copyAssets"
}