Download the PHP package dirushan/githublogin without Composer

On this page you can find all versions of the php package dirushan/githublogin. 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 githublogin

Sure, here are the steps to integrate GitHub OAuth with Laravel using Laravel Socialite and dirushan/githublogin:

  1. Install Laravel Socialite: First, install Laravel Socialite via Composer:

  2. Create a GitHub OAuth App:

    • Go to GitHub and navigate to Settings > Developer settings > OAuth Apps.
    • Register a new OAuth application with your application's details:
      • Application Name: Your application's name.
      • Homepage URL: URL of your application.
      • Authorization callback URL: http://127.0.0.1:8000/callback
      • Note down the Client ID and Client Secret provided by GitHub.
  3. Configure Laravel Application:

    • Update your .env file with the GitHub credentials:

    • Add the GitHub configuration to config/services.php:
  4. Install dirushan/githublogin: Install the GitHub Login package via Composer:

  5. Run Database Migrations:

    Ensure this step is done to create necessary tables for user data storage.

  6. Define Route: Define a route to handle GitHub login:

  7. Set Minimum Stability: If needed, set "minimum-stability": "dev" in your composer.json to ensure compatibility with dev packages.

After completing these steps, you should be able to initiate GitHub OAuth login by accessing /github route in your Laravel application. This setup allows users to authenticate via GitHub and interact with their data through your application. Adjustments may be necessary based on Laravel version and specific package requirements.


All versions of githublogin with dependencies

PHP Build Version
Package Version
No informations.
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 dirushan/githublogin contains the following files

Loading the files please wait ....