#### How to access variables of a PHP file inside Laravel Blade

I have a PHP file called custom.php
I have few arrays inside it which I want to access inside my Blade file in @foreach. What is the best way that I can access the variables inside that file?

Source: Laravel