Laravel Blade parse error when I use @if statement with custom blade components
Following, I have a code for displaying a list of packages. Data is gathered from a config file and I checked the data, it fits. If statement is needed to determine if the packages has $package->monthlyPrice and $package->yearly (isset()). Since…