Skip to content

This PHP script enables users to receive an invitation to a specified GitHub organization by submitting their GitHub username.

License

Notifications You must be signed in to change notification settings

cloudcommunity/automated-github-org-invites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Automated GitHub Org Invites

This PHP script enables users to receive an invitation to a specified GitHub organization by submitting their GitHub username. It handles POST requests from a simple form, sanitizes the input username, and uses the GitHub API to send an invitation to the provided GitHub username to join the organization. The script utilizes cURL for API communication and requires a valid personal access token with sufficient permissions. It includes basic error handling to provide feedback on the success or failure of the invitation process.

This script in action: https://cloudstudy.net/invite2github

References: