GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cslant/github-project-php: Provides a simple and easy-to-use webhooks system to get the GitHub project's actions and implement comments on all activities in the project.

BranchesTags
Open more actions menu

Latest commit

 

History

152 Commits
152 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
common
common
 
 
config
config
 
 
lang/en
lang/en
 
 
resources/views/md
resources/views/md
 
 
routes
routes
 
 
src
src
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
 
 
.scrutinizer.yml
.scrutinizer.yml
 
 
.styleci.yml
.styleci.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
phpstan-baseline.neon
phpstan-baseline.neon
 
 
phpstan.neon.dist
phpstan.neon.dist
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

GitHub Project PHP

github-project-php-example

License Latest Version Total Downloads Test Status Code Style Status

Introduction

GitHub Project PHP is a Laravel package that helps you manage your GitHub Projects (V2) in PHP.

It provides a simple webhook system to receive GitHub project events and automatically generate activity comments on issues and pull requests.

Features

  • Webhook Integration: Receive and process GitHub Projects V2 webhook events
  • Queue Support: Process webhook events asynchronously for better performance
  • API Endpoint: Generate comment messages via REST API
  • 12+ Field Type Templates: Built-in templates for all GitHub Project field types
  • Customizable Templates: Publish and customize Blade templates
  • GitHub GraphQL API: Direct integration with GitHub's GraphQL API

Requirements

  • PHP ^8.4
  • Laravel ^11.0|^12.0
  • Composer

Installation

composer require cslant/github-project-php

Available Field Type Templates

Field Type Description
text Simple text fields
number Numeric fields
date Date fields (Y-m-d format)
single_select Single-select dropdowns with color support
multi_select Multi-select fields
checkbox Boolean/toggle fields
textarea Long text content with diff view
iteration Iteration/sprint fields
labels Label/tag fields
assignees User assignment fields
milestone Milestone tracking
unsupported Fallback for unknown field types

Usage

See the GitHub Project PHP Documentation for detailed usage instructions.

Customizing Templates

php artisan vendor:publish --provider="CSlant\GitHubProject\GithubProjectServiceProvider" --tag="views"

This copies templates to resources/views/vendor/github-project/md/field_types/.

Template Variables

All field type templates receive:

  • $fieldName - Display name of the field
  • $fieldType - Type of the field
  • $fromValue - Previous value
  • $toValue - New value
  • $fieldData - Raw webhook data

API Endpoint

Generate comment messages via API:

POST /github-project/generate-comment
Content-Type: application/json

{
  "payload": { ... }
}

Queue Configuration

Enable queue processing in your config:

// config/github-project.php
'is_queue_enabled' => true,

Documentation

Full documentation available at docs.cslant.com/github-project-php

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.

About

Provides a simple and easy-to-use webhooks system to get the GitHub project's actions and implement comments on all activities in the project.

cslant.com/packages/github-project-php

Topics

cslantcslant-packagegithubgithub-activitiesgithub-projectsgithub-webhookslaravelpackage

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

7 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.