Split Laravel related helpers into separate file, replace #3819

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #5485 from crynobone/feature/split-helpers

Split Laravel related helpers into separate file, replace #3819