A basic example of using a fine-graned access token to get repo information.
- Login to GitHub
- Navigate to the organization GitHub page.
- Select
Settingsand thenPersonal Access Token. - Add a Personal Access Token Policy. All the defaults are sufficient.
- Return to your personal GitHub page.
- Navigate to
Settings,Developer Settings,Personal Access Tokens, andFine-Graned Access Tokens. - Click
Generate New Tokenand all the defaults are fine.
This project uses vanilla PHP.