Download the PHP package kodhe/socialite without Composer

On this page you can find all versions of the php package kodhe/socialite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package socialite

Kodhe Socialite — Native OAuth Social Login (tanpa laravel/socialite)

Komponen login sosial untuk framework Kodhe yang mengimplementasikan protokol OAuth 1.0a dan OAuth 2.0 secara mandiri dan terhubung langsung ke API penyedia (Google, GitHub, Facebook, GitLab, LinkedIn, Twitter).

Tidak ada dependensi pihak ketiga: bukan laravel/socialite, bukan Guzzle, bukan league/oauth2-client. Cukup PHP >= 8.1 (+ ext-curl disarankan; otomatis fallback ke PHP streams).

Provider bawaan

Provider Protokol Endpoint user-info
Google OAuth 2 / OIDC openidconnect.googleapis.com/v1/userinfo
GitHub OAuth 2 api.github.com/user (+ /user/emails)
Facebook OAuth 2 Graph API /me (v18.0, dapat dikonfigurasi)
GitLab OAuth 2 /api/v4/user (mendukung self-hosted)
LinkedIn OAuth 2 / OIDC api.linkedin.com/v2/userinfo
Twitter OAuth 1.0a account/verify_credentials.json (HMAC-SHA1 signing RFC 5849)

Provider lain bisa didaftarkan sendiri lewat Manager::extend().

Cara pakai

1. Konfigurasi — config/socialite.php

Daftarkan URL callback di konsol developer masing-masing penyedia, mis. https://example.com/auth/socialite/callback/google.

2. Route redirect & callback

3. Fitur tambahan

4. Keamanan

Struktur

Menjalankan test


All versions of socialite with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kodhe/socialite contains the following files

Loading the files please wait ...