Heartsentwined\BackgroundExec Close a client HTTP connection and continue script execution in background. Installation Composer: { "require": { "heartsentwined/background-exec": "1.*" } } Usage use Heartsentwined\BackgroundExec\BackgroundExec; BackgroundExec::start();