Amitav Roy

Blog on web and travel

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.

My trip to Shrivardhan, Harihareshwar

Posted on 11th December, 2017

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. It's a nice place not very far away from Mumbai or Navi Mumbai with nice clean beach and quite a few buget hotels.

In this blog post, I will share my experience with you guys along with a few pictures that I have taken during my trip.

Why using a text editor can be a good practice during development

Posted on 10th December, 2017

Working with IDEs can for sure speed up our development, but using Text Editors for sure has some advantages which help us in long-term. They not only help us understand the code much better but also helps us develop some good habits of coding. In this blog post, I will share my experience on how I gained a lot of inside knowledge while I was using Sublime text as my text editor during development instead of any powerful IDE.