{{-- Category Tags like 'laravel' tag, 'Vue' tag, 'API' tag, ... --}} {{-- this Blade Component is used (rendered) in listing-card.blade.php and listing.blade.php (listings/show.blade.php) --}} {{-- Data Properties / Attributes (using the @props Blade directive): https://laravel.com/docs/9.x/blade#data-properties-attributes --}} @props(['tagsCsv']) {{-- 'tagsCsv' means Comma-Separated Value list --}} {{-- the array of variables that our Blade Component uses ($tagsCsv), that were passed from listing-card.blade.php --}} @php $tags = explode(',', $tagsCsv); // convert string to array @endphp