Laravel 5 middleware to authenticate oauth access token before controller

OAuth gives access token to users using which the user let’s the server know that he is a valid and authenticated user. After this authentication, he is allowed to view data from the REST API. We are going to do the same in this tutorial. I have a REST url which has some data which a user with a valid access should be able to view. If the user doesn’t have an access token or the token has expired, then I will throw appropriate error message.

Using composer packages with Drupal 7

In this video tutorial I will show you how we can use composer packages inside Drupal modules. This module will give us easy access to using popular classes and extend our Drupal module with those functionality. In this video I will convert a database query result into a CSV as well as use famous Illuminate database package to query a drupal database for demonstration purpose.

SPA with L5 and Angular: Using Elixir to manage assets and use Material design bootstrap theme

Task runners like Grunt are very common requirement for an application development. I have written a tutorial on Grunt JS which I use to concat and minify CSS, JS and keep that script on a watch so that when I change any JS or CSS file, the final file is concatenated and minified. In Laravel 5 Elixir comes out of the box and provides a solution to these requirements. In this tutorial, I will show how we can setup the Material design bootstrap theme to show the posts.

SPA with L5 and Angular: Setting up the REST controller

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 customize Model save

Laravel has always been a treat to work with and the new version not only brings a lot of added features but also gives you a much structured folder structure which will help you 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 even more structured and that will help a lot. 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.


Uploading images on AWS S3 from a Laravel application

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 images and files from the mail server to buckets like what Amazon provides us. Some may even choose Amazon cloudfront (CDN) for storing images if their traffic is from different geo locations. So, in this tutorial I will show how we can use the Amazon SDK and the Laravel wrapper to store images on Amazon S3 inside a bucket.

Setting up services in Drupal and then view authenticated content using Drupal’s authentication

A mobile application communicating with a web service is very common now a days. And Drupal being one of the most popular CMS, it’s a common requirement for developers to communicate with Drupal CMS specially authenticated content.
In this tutorial, I will be demonstrating how to setup a basic Drupal service and access nodes which are only accessible to authenticated user.