Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Idea: Integrated AI Context/Assistant for Laravel Documentation#58139

Unanswered
erhanurgun asked this question inIdeas
Discussion options

Hi everyone,

We all know that Laravel has one of the best (if not the best) documentations in the software ecosystem. It is comprehensive, clear, and easy to navigate. However, with the rise of AI-assisted coding, I believe we can take the Developer Experience (DX) to an entirely new level.

The Idea: Context-Aware AI Assistant

I was recently browsing the Anthropic (Claude) documentation and noticed a fantastic feature:The ability to highlight code snippets or text directly in the docs and immediately add them to an AI chat context.

Instead of copy-pasting code from the docs into ChatGPT/Claude in a separate tab, the documentation itself serves as the IDE for the prompt.

How it could look in Laravel Docs:

  1. Selection: A user highlights a section onEloquent Relationships or a specific config array.
  2. Action: A floating tooltip appears: "Ask AI" or "Explain this".
  3. Interaction: A sidebar opens where the selected context is already loaded, allowing the user to ask specific questions like"How do I adapt this relationship for a chaotic many-to-many setup?"

Here is a quick example of how it works in other docs (Claude):

cc-docs-example.mp4

Why this matters:

  • Reduces Context Switching: Keeps the developer focused on the documentation page.
  • Better Onboarding: Newcomers can get explanations for complex concepts instantly without leaving the official resource.
  • Modernization: As AI becomes a standard part of our workflow, documentation should evolve to be interactive rather than static.

I think this would be a game-changer for the Laravel ecosystem. What do you all think?

Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Check out laravel boost

You must be logged in to vote
1 reply
@erhanurgun
Comment options

I'm not talking about Laravel Boost... I actively use Laravel Boost, MCP, etc... The point I want to make is that having this feature in the documentation itself will save time for people who don't know Laravel at all, or even for those who do know Laravel... Many documents are now AI-powered... Why should Laravel lag behind?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
None yet
2 participants
@erhanurgun@henzeb

[8]ページ先頭

©2009-2025 Movatter.jp