GitHub Integration
Push your LaraCopilot projects to GitHub repositories with one click
GitHub Integration
LaraCopilot can push any project directly to a GitHub repository. Once connected, you can export your generated code and continue developing it outside of LaraCopilot with your normal Git workflow.
Pushing a project to GitHub
- Open your project in the IDE
- Click the GitHub button in the header toolbar
- If this is your first time, you'll be prompted to authorize LaraCopilot to access your GitHub account — click Authorize and complete the OAuth flow
- Choose a repository name
- Click Push
The full project is pushed to a new GitHub repository under your account. You'll see a link to the repository once the push is complete.
Re-pushing after changes
You can push to the same repository multiple times. After making changes in the IDE:
- Click GitHub in the IDE header
- The previously connected repository is shown
- Click Push to push the latest changes
Each push sends the current state of all project files. It is not incremental — the full project is pushed each time.
Importing from GitHub
You can create a LaraCopilot project by importing an existing GitHub repository rather than generating from scratch.
GitHub import requires a Professional plan or higher. It is not available on Free or Starter plans.
Requirements
Your repository must use:
- Laravel 12+
- PHP 8.2+
- Node.js 20+ (only if your project has a
package.json)
How to import
- On the Chat page, click Import from GitHub
- Paste your GitHub repository URL
- For private repositories, add your GitHub Personal Access Token (PAT)
- The token is used only for cloning and is never stored
- Click Validate — LaraCopilot checks the detected versions
- If validation passes, click Import
- The project is cloned from the default branch and a container is provisioned
Personal Access Tokens for private repos
To import a private repository, you need a GitHub PAT with repo scope:
- Go to GitHub → Settings → Developer settings → Personal access tokens
- Click Generate new token
- Select the
reposcope - Copy the token and paste it into the import form
The token is used only once during the cloning step and is not stored by LaraCopilot.