In this blog, I am going to explain How to Login from PHP using LinkedIn API. So, before you go to XAMPP folder’s htdocs and create a new folder. After that, click right button and select “Git bash Here” and
type -“composer require guzzlehttp/guzzle:^7.0” after that auto-create composer, guzzlehttp, autoloader & some important file. After that, create a file as index.php as shown below- You can use extra CSS for attractive



These are folder after install Composer

This is form of Index.php
After that, create another file like “config.php” and type shown below-
After that, you will be required Client ID, and Client Secret, so these before going to https://www.linkedin.com/ developers and create app and fillup this form and create APP.



When you create App id after that provide Client id & Client Secret in Config.php file and run index.php file in your browser before run you start XAMPP then will be run your index file like shown upper sign page and click sign in then next Sign in and Allow Login.


I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals