Skip to content

Update README with advanced usage and improve form handling - #9

Merged
amasiye merged 7 commits into
mainfrom
develop
Apr 25, 2026
Merged

Update README with advanced usage and improve form handling#9
amasiye merged 7 commits into
mainfrom
develop

Conversation

@amasiye

@amasiye amasiye commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces several improvements to repository workflow, documentation, and automation. It adds standardized commit and pull request guidelines, a new GitHub Actions workflow for PHP CI, a pre-push Git hook for local checks, and updates project metadata and badges. Additionally, it updates dependencies to the latest versions and defines a Composer test script.

Repository workflow and automation:

  • Added a GitHub Actions workflow (php.yml) to automatically run tests on PHP 8.4 and latest versions for pushes and pull requests.
  • Introduced a pre-push Git hook (.githooks/pre-push) that runs composer analyze and composer test if defined, ensuring local code quality before pushing.
  • Added a Composer test script for consistent test execution.

Documentation and contribution guidelines:

  • Added detailed commit and pull request guidelines in docs/commit-and-pr-guidelines.md and .github/copilot-instructions.md, and a new pull request template to standardize contributions. [1] [2] [3]
  • Updated README.md with new badges, contribution workflow references, improved quick start and advanced usage examples, and clarified features.

Project metadata and dependencies:

  • Added meta/repo-health.json to document repository health and status.
  • Updated dependencies in composer.json to require the latest compatible versions of assegaiphp/validation, assegaiphp/collections, and assegaiphp/util.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f56a589df1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .githooks/pre-push
Comment on lines +1 to +4
#!/usr/bin/env bash
set -euo pipefail

repo_root="$(git rev-parse --show-toplevel)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Configure repo so the committed pre-push hook is used

This hook is added under .githooks/pre-push, but Git executes hooks from $GIT_DIR/hooks unless core.hooksPath is configured to point elsewhere; in this commit I only found the hook file itself and no repo bootstrap/config/docs that set core.hooksPath, so most contributors will never run these checks and can push without the intended composer analyze/composer test gate.

Useful? React with 👍 / 👎.

@amasiye
amasiye merged commit 79bf99d into main Apr 25, 2026
4 checks passed
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.

1 participant