Personalized maintenance mode views in Laravel 8
September 10, 2020 — When you put your Laravel application on maintenance mode using the php artisan down
command, the default view for the same looks like following.
A blog on PHP, JavaScript, and more
September 10, 2020 — When you put your Laravel application on maintenance mode using the php artisan down
command, the default view for the same looks like following.
September 9, 2020 — With the release of Laravel 8, you can now render Blade components dynamically using a built-in component called dynamic-component
.
September 7, 2020 — After writing & publishing articles for about two years (consistently), I’ve sort of created a system when it comes to publishing an article. From ideation to hitting the publish button.
September 4, 2020 — A function in JavaScript is a set of statements that performs a task or calculates a value and return it based on the input which is been given to it.
September 3, 2020 — Recently, a prominent member of Laravel community, Dries Vints, has pre-released a pretty exciting open-source project called Blade UI Kit.
September 2, 2020 — Lately, I wanted to show related posts on post pages based on the category the current post lies in. So, for instance, of the post belongs to the “Jekyll” category, I would fetch the recent five posts published under this category and show those on the post. In my case, as you can tell, I’ve shown it in the right sidebar under More in "Jekyll"
label.
September 1, 2020 — In one of my articles, I’ve described how you can add different behavior to some of the classes in Laravel using macros. To give you a primer, Laravel ships with this trait called Illuminate\Support\Traits\Macroable using which you can add additional methods to the class in hand (which is using the Macroable
trait) at run time.
August 31, 2020 — Often, there comes a scenario when you want to type annotate (or type hint) some of the variables or arguments for a subset of a given type.
August 28, 2020 — When it comes to exporting modules, there are two primary ways in TypeScript using which you can do this.
August 27, 2020 — When I first started blogging using Jekyll, I was using a popular Jekyll theme called jekyll-now. The theme is quite minimalistic in nature, bare-bone and lacking some key features. But in those earlier days, I was okay with its simplicity.