পোস্টগুলি

নভেম্বর, ২০১৮ থেকে পোস্টগুলি দেখানো হচ্ছে

RestAPI

ছবি
API = Application Programming Interface. Local API Web  API Programming API  Web API: Rest API: Representational state transfer

socialite with laravel. [Login with => Facebook, Google, Twitter] e.t.c social site.

ছবি
First We should install Laravel Socialite: composer require laravel / socialite Configuration:  After installing the Socialite library, register the  Laravel\Socialite\SocialiteServiceProvider  in your  config/app.php configuration file: ' providers ' => [ // Other service providers... Laravel\Socialite\ SocialiteServiceProvider :: class , ], Also, add the  Socialite  facade to the  aliases  array in your  app  configuration file: ' Socialite ' => Laravel\Socialite\Facades\ Socialite :: class , Configuration Part-2:  Before using Socialite, you will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your  config / services . php configuration file, and should use the key  facebook ,  twitter ,  linkedin ,  google ,  github  or  bitbucket , depending on the providers your application requires. For example: 'github' = > [ 'client_