Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Kenneth Ekandem
    How to Create a Restful CRUD API in PHP Using Laravel and Google Firebase How to Create a Restful CRUD API in PHP Using Laravel and Google Firebase

    In this tutorial, you will learn how to create a RESTful CRUD (Create, Read, Update, and Delete) API with Laravel that stores its data in a Firebase realtime database.

    What is Firebase?

    Google Firebase is a Google-backed application development platform that enables developers to develop iOS, Android, and Web-based applications. Firebase provides tools for tracking analytics, reporting and fixing app crashes, creating marketing and product experiments, and much more.

    So, without wasting time, let us dive in.

    Prerequisites

    1. PHP 7.4, though ideally 8.1.
    2. Composer installed globally.
    3. jq.
    4. Prior experience with Laravel.
    5. A text editor such as Visual Studio Code or an IDE such as PhpStorm.
    6. A Google account.

    Install and set up the Laravel application

    To begin, you first have to install a Laravel application and run it on your local development machine.

    To do that, in your terminal, run the command …

    Read More
  • By Kenneth Ekandem
    How to Use Multiple Authentication Providers in Lumen How to Use Multiple Authentication Providers in Lumen

    As we all know, authentication is a very important aspect of building an application because you want to ensure that users can only access routes and information that they're allowed to.

    Authentication takes many forms and a common one is tokenization which we will be focusing on in this tutorial.

    Tokenization replaces a sensitive data element, for example, user information such as user id's, names, and emails, with a non-sensitive substitute, known as a token.

    But how will issuing tokens be beneficial to multiple authentications? Well, since every user has a unique token, and they can be stored in separate database tables, the token can be queried across these tables to find a match, and based on which return a true, the route can be limited or opened for the user.

    In this tutorial, you will learn how to use multiple authentication providers in Lumen to limit access to routes, …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.