Welcome to the official documentation for GitHub Project PHP, a powerful Laravel package that helps you automate your GitHub Project workflow with real-time updates and notifications.
- Real-time Updates: Get instant notifications for all project changes
- Customizable Templates: Tailor comments to match your team's workflow
- Easy Integration: Simple setup with GitHub webhooks
- Flexible Deployment: Works with any PHP application
-
Install the package
composer require cslant/github-project-php
-
Publish the configuration
:::info[optional] This is an optional step. If you don't publish the config file, the package will use the default configuration. :::
php artisan vendor:publish --provider="CSlant\GitHubProject\GithubProjectServiceProvider" --tag="config"
-
Configure your environment Add these to your
.envfile:GITHUB_ACCESS_TOKEN=your_github_token GITHUB_WEBHOOK_SECRET=your_webhook_secret -
Set up a GitHub webhook
- Go to your repository/organization settings
- Add a new webhook with the following settings:
- Payload URL:
https://your-domain.com/github-project/webhook - Content type:
application/json - Secret: Your webhook secret from
.env - Events: Select the events you want to track
- Payload URL:
Documentation is available at https://docs.cslant.com/github-project-php.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open-sourced software licensed under the MIT license.
If you find yourself stuck using this package, find a bug, or have a feature request, Please open an issue on GitHub.
We appreciate detailed, accurate reports that help us identify and replicate the issue.
If you have any feature requests, please open an issue with the feature request label on the GitHub repository.