Skip to content

[12.x] Improve anticipate method example #10264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 19, 2025
Merged

[12.x] Improve anticipate method example #10264

merged 3 commits into from
Mar 19, 2025

Conversation

AhmedAlaa4611
Copy link
Contributor

Description:
This PR enhances the anticipate method example by replacing the placeholder comment with a real-world example using Eloquent. The new example demonstrates how to fetch address suggestions dynamically based on user input.

Why?
This makes the documentation more practical by providing a concrete use case, helping developers understand how anticipate can be used with database queries.

@taylorotwell taylorotwell merged commit 479d5fe into laravel:12.x Mar 19, 2025
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