$config = array(
'asset_root_dir' => path_to_theme_assets,
'asset_compile_dir => path_to_bundle_output,
// additional options to fit your setup
);
$sprockets = Sprockets::forge("theme-name", $config);
// Later on inside your theme template/layout
$sprockets->js("app.js");
// or
$sprockets->css("app.less");
It looks like you're new here. If you want to get involved, click one of these buttons!