diff --git a/README.md b/README.md index 26df1d5..50c35ab 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Logo Laravel Boost

+

Logo Laravel Boost

Build Status @@ -7,23 +7,19 @@ License

-> 1. Replace the `art/logo.svg` with the new package logo -> 2. Replace the `public/favicon.ico` with the new package favicon (optional) -> 3. Write a great README - ## Introduction Laravel Boost gives you a jump-start with AI assisted coding by making it simple to add everything you need to help AI make good choices. Core features: - MCP server with 15+ tools - Composable AI guidelines for ecosystem packages -- Documentation API with built-in MCP tool +- Documentation API with built-in MCP tool, over 15, 000 pieces of knowledge, and semantic search with embeddings Other features: - Browser logs streamed to `log/storage/browser.log` > [!IMPORTANT] -> Boost is in Beta and will be updated frequently. +> Boost is in _Beta_ and will be updated frequently. ## Installation @@ -39,12 +35,7 @@ php artisan boost:install You're ready to go! -You can optionally publish the Boost config: -```bash -TODO: the command that allows that -``` - -## Current MCP Tools +## Available MCP Tools | Name | Notes | | -------------------------- |----------------------------------------------------------------------------------------------------------------| @@ -65,14 +56,61 @@ TODO: the command that allows that | Search Docs | Use hosted API service to retrieve docs based on installed packages | | Tinker | Run arbitrary code within the context of the project | +## Available AI Guidelines + +| Package | Versions Supported | +|---------|-------------------| +| Core & Boost | core | +| Laravel Framework | core, v10, v11, v12 | +| Livewire | core, v2, v3 | +| Flux UI | core, free, pro | +| Herd | core | +| Inertia Laravel | core, v1, v2 | +| Inertia React | core, v1, v2 | +| Inertia Vue | core, v1, v2 | +| Pest | core, v4 | +| PHPUnit | core | +| Pint | core | +| TailwindCSS | core, v3, v4 | +| Livewire Volt | core | +| Laravel Folio | core | +| Enforce tests | conditional | + + +## Available documentation + +| Package | Versions Supported | +|---------|-------------------| +| Laravel Framework | v10, v11, v12 | +| Flux UI | v2 Free, v2 Pro | +| Inertia | v1, v2 | +| Livewire | v1, v2, v3 | +| Pest | v3, v4 | -## Adding your own AI guidelines - -Add `.blade.php` files to `.ai/guidelines/*` in your project, and they'll be included as part of `boost:install`. -## Official Documentation +## Adding your own AI guidelines -Documentation for Boost can be found on the [Laravel website](https://laravel.com/docs). +Add `.blade.php` files to `.ai/guidelines/*` in your project, and they'll be included with Boost guidelines when you run `boost:install`. + +## Adding Boost MCP manually +Create the necessary config for your code editor using these details. + + + + +
Commandphp
Args./artisan boost:mcp
+ +JSON Example +```json +{ + "mcpServers": { + "laravel-boost": { + "command": "php", + "args": ["./artisan", "boost:mcp"] + } + } +} +``` ## Contributing @@ -88,4 +126,4 @@ Please review [our security policy](https://github.com/laravel/boost/security/po ## License -Laravel AI Assistant is open-sourced software licensed under the [MIT license](LICENSE.md). +Laravel Boost is open-sourced software licensed under the [MIT license](LICENSE.md). diff --git a/art/boost.svg b/art/boost.svg new file mode 100644 index 0000000..557c963 --- /dev/null +++ b/art/boost.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/art/logo.svg b/art/logo.svg deleted file mode 100644 index a4c9d23..0000000 --- a/art/logo.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Text - - Laravel - Boost - 🚀 - \ No newline at end of file diff --git a/src/Mcp/Boost.php b/src/Mcp/Boost.php index c573352..fb0fb5f 100644 --- a/src/Mcp/Boost.php +++ b/src/Mcp/Boost.php @@ -14,7 +14,7 @@ class Boost extends Server public string $serverVersion = '0.0.1'; - public string $instructions = 'Laravel AI Assistant to give you a boost'; + public string $instructions = 'Laravel ecosystem MCP server offering database schema access, Artisan commands, error logs, Tinker execution, semantic documentation search and more. Boost helps with code generation.'; public int $defaultPaginationLength = 50; diff --git a/src/Mcp/Tools/SearchDocs.php b/src/Mcp/Tools/SearchDocs.php index 1d76e48..487f6fe 100644 --- a/src/Mcp/Tools/SearchDocs.php +++ b/src/Mcp/Tools/SearchDocs.php @@ -22,7 +22,7 @@ public function __construct(protected Roster $roster) public function description(): string { - return 'Search for up-to-date version-specific documentation related to this project and its packages. This tool will search Laravel hosted documentation based on the packages installed and is perfect for all Laravel related packages. Laravel, inertia, pest, livewire, nova, nightwatch, and more.'.PHP_EOL.'You must use this tool to search for Laravel-ecosystem docs before using other approaches.'; + return 'Search for up-to-date version-specific documentation related to this project and its packages. This tool will search Laravel hosted documentation based on the packages installed and is perfect for all Laravel related packages. Laravel, inertia, pest, livewire, filament, nova, nightwatch, and more.'.PHP_EOL.'You must use this tool to search for Laravel-ecosystem docs before using other approaches.'; } public function schema(ToolInputSchema $schema): ToolInputSchema