Amitav Roy

Recent blog posts

Creating your own OAuth2 server in Laravel 5 using bshaffer

6th of May 2015 by  Amitav Roy
When creating REST APIs, authentication is always an important aspect. There are a lot of ways to safeguard your API URLs, but one of the best is…

SPA with L5 and Angular: Setting up the REST controller

2nd of April 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.…

SPA with Laravel 5 and Angular: Working with Faker to create dummy data

21st of March 2015 by  Amitav Roy
During development, dummy data is very important. I have seen that dummy data really helps speed up the development. Those coming from Drupal…

Events in Laravel 5 and customising Model save

12th of March 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…

Uploading images on AWS S3 from a Laravel 4 application

26th of February 2015 by  Amitav Roy
Any web application which deals with a lot of images or a lot of file downloads will for sure want to offload their space requirements for…

Laravel 4 how to use events

11th of October 2014 by  Amitav Roy
One of the most powerful aspects of Drupal is the concept of hooks. We can modify core features of Drupal entities without hacking the core.…

Creating CSV output from database query result in Laravel 4

4th of September 2014 by  Amitav Roy
Generating a CSV file from some records in the database is a very common requirement which a web developer will come across. It will be nice…

Working with workbench and building packages in Laravel 4

2nd of August 2014 by  Amitav Roy
I come from the world of Drupal where every code that we write is part of a module. This is very useful because over time I am able to develop…

Laravel 4 Swift Mailer with dynamic config to send mail through Gmail

17th of June 2014 by  Amitav Roy
Laravel 4 comes with the Swift Mailer library which works great in sending emails from your application. Just set the mail.php configuration…

Laravel 4 forms, retain data, default and custom validations

14th of June 2014 by  Amitav Roy
Working with forms in Laravel 4 is really fun and there is hardly any PHP application which doesn’t have a form. So, in this tutorial, I…