GitHub Copilot Using GitHub Copilot for code generation and autocompletion (PHP examples). Open the file tutorial1.php and read the comments to follow each exercise. View complete.php to get an idea of what the final product looks like.