script or code to text in php laravel code example Example: using get in laravel blade {{ request()->has('faq') ? request()->get('faq') : '' }}