Vue.js is with no doubts the preferred JavaScript framework in the Laravel community. In fact, a fresh Laravel application comes with Vue.js already set up out of the box. Prefer to use React instead? Then you are in the right place, as we’ll be looking at how to use React in a Laravel application in […]

As your web application begins to grow in functionality and usage, the need to optimize it performance arises, so as to give your users a better experience when using your application. Come to think of it, nobody actually like slow applications. You tend to lose users with slow applications, which is bad for your business. […]

Since it was publicly released in 2015 by Facebook, companies like GitHub and Pinterest have started using GraphQL in production. GraphQL introduces lots of improvements over REST. There is this misconception that GraphQL is all about JavaScript. Many different programming languages support GraphQL. So in this tutorial, I will help correct that misconception by showing […]

In this tutorial, I will be showing you how to build a fullstack GraphQL app using what I call the PAV stack (Prisma, Apollo, Vue). Prerequisites This tutorial assumes the following: Node.js and NPM installed on your computer The Vue CLI installed on your computer Basic knowledge of GraphQL Basic knowledge of JavaScript and Vue.js […]

In my last tutorial, we saw how to get started with GraphQL in a Laravel application. Today, we’ll be diving deeper into working with GraphQL and Laravel by building an API with GraphQL and Laravel. This will cover things like authentication, querying nested resources and eager loading related models. Prerequisites This tutorial assumes the following: […]

This is part 3 of a 3 part tutorial. You can find part 1 here and part 2 here. In the last tutorial in this series, we looked at how to add authentication using JWT to a GraphQL server. In this tutorial, we’ll be looking at how to add authentication to GraphQL using Auth0. What […]

This is part 2 of a 3 part tutorial. You can find part 1 here and part 3 here. In the first part of this series, we looked at an overview of authentication, how it is done in REST and how it can be done in GraphQL. Today, we’ll be taking a more practical approach […]

This is part 1 of a 3 part tutorial. You can find part 2 here and part 3 here. Any application that stores user data requires some form of authentication. In this series, I’ll be showing how to handle authentication in GraphQL. We’ll begin by looking at an overview of authentication and how it is […]

API resources were introduced in Laravel 5.5. Before the introduction of API resources, we often used a package like fractal as a transformation layer to output JSON responses when building REST APIs. So, in this tutorial, I’ll be showing how to build a robust API in Laravel using API resources. Prerequisites This tutorial assumes you […]

Laravel 5.6 was released shortly before this year’s Laracon online. This release continues the improvements made in Laravel 5.5 by adding more new features and improvements. In this article, I’ll cover the new features and improvements added to Laravel 5.6. Let’s start by listing each of them, then we’ll go over them one after the […]

In this tutorial, I will be showing you how to build a bot for Slack and Telegram using BotMan. BotMan is a framework-agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger, WeChat and many more. What […]

This blog post was written under the Pusher Guest Writer program. So you have been building and consuming REST APIs for some time now and recently you started hearing about GraphQL, and how people are saying it’s Rest 2.0. Now you are wondering what’s all the fuss about GraphQL and what makes it different from […]