Amitav Roy

Blog on web and travel

Turtuk - The last village of India and its amazing history

Posted on 21 Jul 2019 by Amitav Roy

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 so much to offer for the tourists. Even now, not many people venture into this place as it is another 90 kms from Diskit. Because the roads are not very good, it can take you more than 3 hours to reach Turtuk from Diskit.

A bike trip to Diveagar - prep for the bigger journey

Posted on 26 Jun 2019 by Amitav Roy

We wanted to start early, however due to some unforeseen issues we got delayed. From Vashi, Navi Mumbai we started at around 7 am and we were hoping that we will not get too much traffic. The idea was to have the bag stuffed, the jackets and everything to mock the situation that we will be facing in Leh. And the moment we started, we knew one thing is going to be a challenge and that’s the bag. Although the sitting position for the rider and pillion is quite comfortable in Himalayan, the moment we introduced the big rucksack, the situation did a 360. This trip was only one day’s halt but we packed some extra luggage just to get the feel.

My first Laravel conference LaravelLiveIndia 2019

Posted on 10 Mar 2019 by Amitav Roy

My love for Laravel has been since the days of Laravel 3. Looking at the great documentation, intuitive API which is so developer friendly and many other reasons, I was convinced that this is the framework of choice for me to work on any project when the stack is primarily PHP. By now it has grown a lot. A lot of new features are being added to the framework. And every new version would be announced at conferences and it's creator Taylor Otwell and so many other great developers would speak about the framework, new patterns and ways of development etc.

Continuous Integration with Gitlab on Laravel

Posted on 26 Jan 2019 by Amitav Roy

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?

Laravel Register and Login controller and why we should modify it

Posted on 18 Mar 2018 by Amitav Roy

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.

My trip to Shrivardhan, Harihareshwar

Posted on 31 May 2017 by Amitav Roy

Shrivardhan is a small city about 180 km from Navi Mumbai and it is a perfect place for a small trip. If you have a couple of days in hand then a trip to this place would be a perfect holiday destination. The road condition is generally good and so it's a perfect getaway for those who want to get out of the fast life and relax near a beach.

SPA with L5 and Angular: Setting up the REST controller

Posted on 2 Apr 2015 by Amitav Roy

In this part we will set up the basic REST API points so that our Angular application can talk to these endpoints and fetch the data required. Also in this tutorial I will show you how we can use the Laravel query scope and how it can be very useful when we are building a query with the same set of conditions.

Events in Laravel 5 and customising Model save

Posted on 15 Mar 2015 by Amitav Roy

Laravel has always been a treat to work with and the new version not only brings a lot of added features but also gives a much structured folder structure which will help organize the code even much better. One of the great features of Laravel 4 for me is events which I have shown in my tutorial Laravel 4 how to use Events. But in Laravel 5 the code is structured even better. In this tutorial, I will show you how we can use Events in Laravel 5 and how we can customize the default mode’s save function to fire an event on every save.