• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / valkyrja-starter-app-php / 39719348397
100%

Build:
DEFAULT BRANCH: 26.x
Ran 22 Oct 2026 03:54AM UTC
Jobs 1
Files 42
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2026 03:53AM UTC coverage: 100.0%. Remained the same
39719348397

push

github

web-flow
[Grpc] feat: Add a gRPC entry point, greeter service, and generated data (#196)

# Description

Integrates gRPC into the starter app, so a new application serves gRPC
out of the box the same way
it serves HTTP and CLI.

The `App\Grpc` namespace mirrors `App\Http` and `App\Cli` exactly — its
own `App`, `Config`,
`ComponentProvider`, `DataServiceProvider`, `GrpcRouteProvider`, and
generated `Data` — so a
developer who has read one already knows this one. `app/bin/grpc` is the
entry script.

`GreeterController` is the worked example: a unary `SayHello` and a
server-streaming `Fanout`,
attributed with `#[Service]` and `#[Method]`, which is what the
generated routing data is built
from.

Tests match what HTTP and CLI already have:

- **golden tests** under `.github/ci/sindri-phpunit/tests/` pin the
generated `AppGrpcRoutingData`
for each entry, so a change in sindri's generator shows up here as a
diff rather than as a silent
  behavior change
- **`GrpcEntryTest`** boots the real entry point and drives a call end
to end, covering both the
  unary and the streaming path

`setup-example-files` and `sindri-generate` gain the gRPC entries, so a
fresh clone gets working
example data and `composer sindri-generate` regenerates every protocol.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [x] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [x] Documentation improvement

## Changes

- **`app/src/App/Grpc/`** — `App`, `Config`,
`Controller/GreeterController`, the three providers, and
  the generated `Data`, mirroring `App\Http` and `App\Cli`
- **`app/bin/grpc`** — the gRPC entry script
- **`app/tests/Tests/Functional/Entry/GrpcEntryTest.php`** — boots the
entry point and runs a unary
  and a streaming... (continued)

629 of 629 relevant lines covered (100.0%)

2.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39719348397.1 22 Oct 2026 03:54AM UTC 42
100.0
GitHub Action Run
Source Files on build 39719348397
  • Tree
  • List 42
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39719348397
  • 8f387eb9 on github
  • Prev Build on 26.x (#39613781739)
  • Next Build on 26.x (#39727955186)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc