How to create custom blade directive in laravel ?
In this article, We’ll see how we can create a custom blade directive in laravel. Blade allows you to define your own custom directives using the directive method. In laravel’s documentation, a new blade directive creates under boot method in AppServiceProvider.php, but we’ll create a new provider, so lets create it using artisan command. addRead more about How to create custom blade directive in laravel ?[…]