Laravel 5 and AngularJS token based authentication Part 1

In a previous tutorial we have seen how to use Laravel as backend for our AngularJS application. We made a basic todo application but we didn’t consider anything about users. This time we want to create always the same todo application but we w

Laravel 5 REST Api Basic Authentication Tutorial

In this tutorial we will see how to use Laravel 5 to serve as a REST API backend implementing also a simple basic HTTP Authentication to store data for different users of the application. We will use a middleware to provide the authentication for the

Laravel 5 REST Api Basic Authentication Tutorial

Hotel booking engine with Laravel 5 and AngularJS Part 2

In the first part of this tutorial series we created a basic Laravel application with all the data model needed for the application and a basic first controller to insert new room type. As we said at begin the frontend of the booking engine will be a

Hotel booking engine with Laravel 5 and AngularJS Part 1

This tutorial is the first of a serie where we explain how to create an hotel booking system from scratch using Laravel 5.1 and AngularJS. In the booking engine we will use AngularJS to create a single page application, the front end, where the fina

Create a Personal Blog with Laravel

In this tutorial, we’ll code a simple personal blog with Laravel. We’ll also cover Laravel’s built-in authentication, paginate mechanism, and named routes. We’ll elaborate some rapid development methods, which come with Larave

Create a master/slave database configuration in laravel

To set up a master/slave database, perform the following steps from the command line.

The first step is to determine which address the MySQL server is bound to. To do this, locate the line of the MySQL configuration file that contains the bind-add

Create a Newsletter platform in laravel

In this tutorial, we will cover an advanced newsletter system, which will use Laravel’s queue and email libraries. After this section, we will learn how to set and fire/trigger queued tasks, and how to parse e-mail templates and send mass e-mai

Understanding polymorphic relationships In laravel

I guess , you are thinking that Eloquent is cool and very powerful.

Well, yes, it is. However, sometimes, hasMany() or belongsToMany() isn’t enough. In some situations during your development flow, you will have to deal with more complex rel

5 ways to secure your laravel application

Before you deploy your application in a hostile environment, full of merciless bots and malicious users, there are a number of security considerations that you must keep in mind. In this article, we are going to cover several common attack vectors fo

Create a CAPTCHA-style spam catcher in laravel

One way to combat “bots” that automatically fill in web forms is by using the CAPTCHA technique. This shows the user an image with some random letters; the user must fill in a text field with those letters. In this tutorial, we will creat