Carbon date String formatting

To format a Carbon date to string output, you can use the format function and pass the following parameter $carbonDate->format('l…

tgugnani

Moving away from WordPress to Laravel.

I finally moved a step away from WordPress and now I am using Laravel as the backend for this blog.…

tgugnani

Understanding TailwindCSS Container

If you have used CSS frameworks, you must have used the container class, TailwindCSS does also have a container utility…

tgugnani

Vertically Align Item Middle of screen in TailwindCSS

In TailwindCSS you can make use of flexbox to align items right in the middle of the screen by using…

tgugnani

How to create custom CSS Animations in TailwindCSS

TailwindCSS is a popular utility-first CSS framework, which makes it easier to design your websites. In this article, I will…

tgugnani

How to Mock Objects in PHPUnit / PEST tests in Laravel

I always dreaded learning about Mocking in testing assuming it would be something too complex, and I never really had…

tgugnani

Building a responsive navigation using TailwindCSS and AlpineJS

In this article let's build a responsive Navbar using TailwindCSS and AlpineJS. We will use TailwindCSS for the styling and…

tgugnani

Stretch height of flex items when vertically centered TailwindCSS

I have been recently working with some TailwindCSS Components, and while working on a navigation component, I ran into a…

tgugnani

Fix styling and formatting of Blade files using Github Actions and Blade Formatter

Introduction Since we are looking into the foundations of working in a team, which also includes defining a set of…

Tapan Sharma

Update MySQL JSON column fields in Laravel

If you have a JSON column in your migrations, and you are looking to update the value of one of…

tgugnani