In this tutorial i will show you simple html based component in Laravel 10 using blade. Creating reusable components is a fundamental aspect of modern web development, as it allows developers to simplify code and improve efficiency. Laravel 10, one…

How to assign or declare variable in laravel blade template ?
Laravel blade is a powerful templating engine that gives you a lot of control over your HTML. One thing you can do with blade is declare variables. This can be useful if you want to reuse a piece of data…

How to Get Current Url in Blade File Laravel ?
Sometimes in our application we want to Get Current Url in Blade file Laravel because we want to add specific conditions to show the data on behalf of current url. It can be complete url, route name and query params…

How to Change Date Format in Blade View File in Laravel ?
Laravel default shows the date in the way its stored in database bu sometimes we want to change date format in blade view file in laravel according to our requirements. It can be multiple possibilities and requirement from client or…

How to Render Html String in Blade in Laravel ?
Blade is a template engine to write the syntax easily and powerfully. To render html string in blade in laravel we use {!! $htmlstring !!}. Using the blade template we can easily print a variable, can create loops and can…

How to make a component in Laravel 8 ?
This tutorial demonstrates how to create a simple HTML-based component in Laravel 8 using Blade. Laravel offers a library to construct HTML components, much like Angular or React, that can accept parameters through HTML attributes. These components can be used…