Amitav Roy

Blog on web and travel

Trying out Microsoft Windows WSL 2 and a quick review

Posted on 18th July, 2020

Some time back, I saw a Tweet which caught my attention – Windows Subsystem for Linux (WSL) version 2. Now, Microsoft has been investing a lot in open source recently and Visual Studio Code is one big example of that along with GitHub. And, when I looked at two keywords in one tweet “Windows” and “Linux”, it caught my attention. After reading about the new feature WSL 2, it forced me to try out Windows as my development machine. In this article, I will try to share my experience on trying out Microsoft Windows again after using Linux and Mac for almost 4 to 5 years now as my primary development machine.

Laravel Livewire and the new File upload feature

Posted on 12th June, 2020

Laravel Livewire is a new package developed by Caleb Porzio which really changes the approach of how you do front end development. It is a composer package which allows you to create components in PHP which are reactive as well similar to Vue or React. The entire component code is inside PHP and blade files but you get a feeling of and SPA. Initially, everything will look very magical as you are writing only PHP code but getting JavaScript behaviour.

Turtuk - The last village of India and its amazing history

Posted on 21st July, 2019

Turtuk is a small village along the banks of Shyok river and it is considered to be the last village of northern India. With the Karakoram range on one side and the great Himalayas on the other, this small village has a lot to offer for the tourists. So, let me take you through a ride of this magical village and it’s amazing history.

A bike trip to Diveagar - prep for the bigger journey

Posted on 26th June, 2019

In July 2019, I will be going to Leh with my wife and another friend of mine. There we will be travelling on bike. And hence this was our warm up trip before the big match. The distance is not much (only 180 kms) from my place, but the important thing was that it was on my new bike and it’s a bike trip after almost 3 years.

In this blog post, I will share my journey with you along with some pictures that I have clicked there. Hope you enjoy it.

Working with webhooks using the spatie package in Laravel

Posted on 24th June, 2019

Webhooks are a great way to communicate with different applications. For example, Payment platforms like Stripe or Paypal will allow you to receive data for transactions through webhooks.

Similarly, you may also have applications which need to send certain information from your Laravel application to some other application and that's where this wonderful package can be very handy.

My first Laravel conference LaravelLiveIndia 2019

Posted on 10th March, 2019

Laravel conferences always bring a lot of energy. When I listen to so many great developers talking on different topics and share their experience, it gives me a lot of exposure and experience. However, I never attended any conference because most of the time they were not in India. However, on the 3rd of March 2019, I got an opportunity to attended the Laravel Mumbai conference. On top of that, the guest list included one of my mentor Freek Murze and so, the decision to attend that conference was a no-brainer.

In this blog post, I will share my view and experience of my first Laravel conference.

Continuous Integration with Gitlab on Laravel

Posted on 26th January, 2019

I have been practising test-driven development (TDD) for quite some time on projects where I was working alone or my own side projects. But when it comes to working with a team, you come up with new and very interesting challenges. I wanted to ensure that everyone runs PHPUnit before they commit code and yes there are chances even I can forget to check. Human errors are possible, right? What if the developer forgot to run the unit test? Well, that's where Continuous Integration (CI) comes into picture.

The idea is simple, when a developer commits a code and push to the repository; the unit tests are executed. And, if we have any issue, the develper will be notified about the same. So, in this blog post, I will show you how I implemented Gitlab pipelines to implement Continuous Integration.

Laravel Register and Login controller and why we should modify it

Posted on 5th March, 2018

If you have ever used Laravel's auth setup even once, you know how much time it can potentially save when we just want to get going. But, I am not going to talk about what comes with the auth scaffolding. I am here to talk about why it is ok to modify the Login and Register controller which comes by default and how we are going to customise them to our unique requirements.

Migrating my blog from CMS to Laravel

Posted on 19th December, 2017

My blog has always been a way for me to convey my feelings about some of the developments and RND that I do during my work or even during my spare time. For a long time, I use to rely on a CMS for the blog. Initially Drupal and then for almost last two years on WordPress. But, this time I took a decision and changed the entire system into a Laravel application. In this post, I am going to share my reason for some of the decision that I took and some of my views which made me take those decisions.