Skip to content

Add PHP package: gitignore vendor dir and workflow_dispatch publish workflow#20

Open
Copilot wants to merge 3 commits intomainfrom
copilot/add-php-source-folder
Open

Add PHP package: gitignore vendor dir and workflow_dispatch publish workflow#20
Copilot wants to merge 3 commits intomainfrom
copilot/add-php-source-folder

Conversation

Copy link

Copilot AI commented Feb 23, 2026

The previously committed php/vendor/ directory and .phpunit.result.cache were tracked in git, and there was no CI workflow to build and publish the PHP package.

Changes

  • .gitignore — Added php/vendor/ and php/.phpunit.result.cache
  • Git index cleanup — Removed all php/vendor/ and php/.phpunit.result.cache files from tracking via git rm --cached
  • .github/workflows/phpPackage.yml — New workflow_dispatch workflow with a required version input that:
    • Sets up PHP 8.1 + Composer via shivammathur/setup-php
    • Runs composer install + PHPUnit (gates the release on passing tests)
    • Creates and pushes an annotated git tag php-v<version> (Packagist polls these)
    • Notifies Packagist immediately via its update API, failing the step on non-2xx response

Required secrets: PACKAGIST_USERNAME and PACKAGIST_TOKEN must be configured in repo settings for the Packagist notification step.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: jottenlips <14910912+jottenlips@users.noreply.github.com>
Copilot AI changed the title [WIP] Add PHP source folder for Laravel package Add PHP package: full VBML port for Laravel/Composer Feb 23, 2026
Copilot AI requested a review from jottenlips February 23, 2026 16:12
Copilot stopped work on behalf of jottenlips due to an error February 23, 2026 18:42
…rkflow

Co-authored-by: jottenlips <14910912+jottenlips@users.noreply.github.com>
Copilot AI changed the title Add PHP package: full VBML port for Laravel/Composer Add PHP package: gitignore vendor dir and workflow_dispatch publish workflow Feb 23, 2026
@jottenlips jottenlips marked this pull request as ready for review February 25, 2026 20:45
@jottenlips
Copy link
Contributor

after merge, I will register the package on https://packagist.org/packages/submit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants