Skip to content

AI Integration

AI-Ready Documentation

Your AI coding assistant can read this documentation directly. No copy-pasting, no stale answers.

Laravel Modules works with the AI tools you already use. Whether you're coding with Claude Code, GitHub Copilot, Cursor, or Windsurf, you can pull in accurate, up-to-date documentation for this package without leaving your editor.

Laravel Boost

This package ships with built-in support for Laravel Boost, Laravel's AI development companion. When Boost is installed in your project, it automatically detects and loads the AI capabilities that Laravel Modules provides.

Guidelines

Laravel Modules includes a set of AI guidelines that get loaded into your agent's context when you run boost:install. These guidelines cover the package's conventions, best practices, and patterns so your AI agent writes code that's consistent with how Laravel Modules is meant to be used.

Skill

Laravel Modules also provides a dedicated agent skill. Unlike guidelines (which are loaded upfront), skills activate on demand when your agent works on a task related to this package. This keeps your agent's context focused and avoids loading information it doesn't need yet.

Context7

This package is indexed on Context7, which gives AI coding assistants direct access to current documentation and code examples. Instead of relying on training data that might be outdated, your AI agent fetches the latest docs on the fly.

To use it, just add use context7 to your prompt:

How do I install and configure mozex/laravel-modules? use context7

Your AI assistant picks up the use context7 instruction, looks up this package, and pulls in the relevant documentation before generating its response. No manual copy-pasting, no stale examples.

Library ID /mozex/laravel-modules
Explore docs context7.com/mozex/laravel-modules

Getting Started with Context7

The quickest way to set up Context7 is to run the setup command and follow the prompts:

npx ctx7 setup

This handles authentication, generates an API key, and configures your editor automatically. You can target a specific editor with --cursor, --claude, or --opencode.

Context7 works in two modes: as an MCP server (native tool integration for editors that support MCP) or as a CLI tool (works with any agent through a skill file). The setup command picks the right one for your editor.

For manual configuration or other editors, see the full installation guide.

Scroll to top