A place where all members can share their Laravel & PHP tutorials, links, news, packages, etc.

Create New Post Contact Us

All about Redirects in Laravel 5

Laravel has a useful function redirect() to, well, redirect a user to a different page or action, with or without data. Let’s discuss those various options in one place – maybe you will find out something new for yourself.

Notice: if y

Laravel Envoy Deployment Script

This Envoy script is designed to be used with Laravel 5 projects,however you could modify for other type of projects.

Notice that your local server/machine should configured to use SSH Key-Based Authentication.

Speed up a Laravel app by caching the entire response

A typical request on an dynamic PHP site can do a lot of things. It’s highly likely that a bunch database queries are performed. On complex pages executing those queries and hydrating them can slow a site down.

The response time can be impr

How to get all Gmail Contacts with Laravel 5

New quick tutorial today on how to retrieve your user's google contacts with Google API in Laravel 5.

Ok, to explain a bit how I did it, I first need to set everything in context. If you want to skip and get into it right now, just scroll to

Start testing your Laravel application today

In this short tutorial I will show you how to write your first Laravel application test in like no time. Testing is a huge buzzword in the developer's world. There are dozens of types and tools out there and it is obviously overwhelming at firs

OAuth in Javascript Apps with Angular and Lumen, using Satellizer and Laravel Socialite

In the last few weeks, Socialite was a popular topic to blog/tweet about. Coincidentally, I also needed Socialite for a project. But in my case, I wanted to use it in an Angular app, distributed using Cordova (Phonegap) as hybrid app on Android/iOS.

Using Repository Pattern In Laravel 5 – Eloquent Relations And Eager Loading

Before we go to the main topic of the article, I’ll give you a short heads up for some design problems you may face. Recently one of my clients complained that some pages open very slowly. When I say very, I mean incredibly slow. So I’ve

Getting Started With VueJS – Making API Calls Using Laravel

This is an example of sending an API request using Laravel with valid CSRF tokens.

The idea for this example is basically a habit breaking support system, when you feel the urge to do a negative habit instead of doing you just hit the button to ac