pestphp / pestphp/pest

[Bug]: Laravel preset doesn't allow custom channels in App\Notifications

Open
#1,284 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
11.7k
Forks
538
Avg merge
4d 11h
Merged PRs (30d)
8

Description

What Happened

When I run the Laravel preset I expect that to allow custom channels in App\Notifications\Channels.
https://laravel.com/docs/11.x/notifications#custom-channels

How to Reproduce
  1. Create a custom Channel under the Notifications folders
  2. Run the Laravel preset
Sample Repository

No response

Pest Version

3.2.5

PHP Version

8.3.12

Operation System

macOS

Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Laravel preset and reproduce the issue using a custom Channel under App\Notifications\Channels, as described in the reproduction steps. Trace how the preset discovers notification channels; done means custom channels in that location are accepted when the Laravel preset runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.