A PHP resource layer for dynamic bundling of npm modules clientside and embedded resources