The PHPer's Guide to OAuth

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. oauth

    I put together this sample project, which leverages two libraries created by The PHP League and will be discussed in the following sections of this article. If you want to follow along, go ahead and clone the repository.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

    For the client side, I'll be using the library league/oauth2-client.

  4. PHP Dotenv

    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.

    Here, I'm using the vlucas/phpdotenv library to process .env files.

  5. Nyholm PSR-7

    A super lightweight PSR-7 implementation (by Nyholm)

    Since the library is designed to be easily integrated with different frameworks, it relies on the usage of PSR-7 compliant HTTP messages. To fulfill this requirement, I'll be using the nyholm/psr7 package.

  6. http-message

    The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231

    Since the library is designed to be easily integrated with different frameworks, it relies on the usage of PSR-7 compliant HTTP messages. To fulfill this requirement, I'll be using the nyholm/psr7 package.

  7. skeleton

    A skeleton repository for League Packages (by thephpleague)

    I put together this sample project, which leverages two libraries created by The PHP League and will be discussed in the following sections of this article. If you want to follow along, go ahead and clone the repository.

  8. PHP OAuth 2.0 Server

    A spec compliant, secure by default PHP OAuth 2.0 Server

    For the server side, I'll use the OAuth 2.0 server library. The implementation here is more complex, as there are many moving parts that need to be in place.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    5 projects | /r/PHP | 21 May 2023
  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    1 project | /r/PHPhelp | 21 May 2023
  • Looking for PHP classes that will authenticate against existing OAuth or SAML IdP servers

    3 projects | /r/opensource | 23 Apr 2023
  • Mobile application using website's PHP OAuth

    3 projects | /r/PHPhelp | 4 Mar 2023
  • Looking for low security and simple login ideas.

    1 project | /r/PHPhelp | 30 Aug 2022

Did you know that PHP is
the 14th most popular programming language
based on number of references?