File tree Expand file tree Collapse file tree 4 files changed +38
-10
lines changed Expand file tree Collapse file tree 4 files changed +38
-10
lines changed Original file line number Diff line number Diff line change 1- This package is a Laravel Model Context Protocol Server.
1+ This is a packge for laravel which makes easier to build a Model Context Protocol Server.
2+
3+ ## Technical Specification
4+
5+ - Support Laravel 10, 11, 12
6+ - Support PHP 8.2+
7+
8+ ## Laravel Package Development Guideline
29
3- Laravel
410- Add `use` statements for all Facade classes to call them more concisely.
511- Use Facade classes or original Laravel classes in all files instead of helper functions.
12+ - Create new class and refactor if the file is getting too long. (more than 300 lines)
13+ - Use `env()` instead of `Config` facade in config file. (`/config/mcp-server.php`)
14+ - They don't support most classes in Laravel.
15+ - They support some of helpers: `storage_path()`, `resource_path()`, `env()`
16+ - They support some classes: `Illuminate\Support\Str`
17+
18+ ## Features
619
7- Features
820- https://modelcontextprotocol.io/docs/concepts/architecture
921- https://modelcontextprotocol.io/docs/concepts/tools
1022- https://modelcontextprotocol.io/docs/concepts/transports
1123- https://modelcontextprotocol.io/sdk/java/mcp-server
1224
13- Documentation Guidelines
25+ ## Documentation Guidelines
26+
1427- Document all public methods and classes with PHPDoc annotations.
1528- Include `@param`, `@return`, and `@throws` tags for all methods.
1629- Document configuration options with sample values and explanations.
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ indent_style = space
88insert_final_newline = true
99trim_trailing_whitespace = true
1010
11- [* .md ]
11+ [* .{md,cursorrules,windsurfrules} ]
1212trim_trailing_whitespace = false
13+ indent_style = space
14+ indent_size = 2
1315
1416[* .{yml,yaml} ]
1517indent_size = 2
Original file line number Diff line number Diff line change 1- This package is a Laravel Model Context Protocol Server.
1+ This is a packge for laravel which makes easier to build a Model Context Protocol Server.
2+
3+ ## Technical Specification
4+
5+ - Support Laravel 10, 11, 12
6+ - Support PHP 8.2+
7+
8+ ## Laravel Package Development Guideline
29
3- Laravel
410- Add `use` statements for all Facade classes to call them more concisely.
511- Use Facade classes or original Laravel classes in all files instead of helper functions.
12+ - Create new class and refactor if the file is getting too long. (more than 300 lines)
13+ - Use `env()` instead of `Config` facade in config file. (`/config/mcp-server.php`)
14+ - They don't support most classes in Laravel.
15+ - They support some of helpers: `storage_path()`, `resource_path()`, `env()`
16+ - They support some classes: `Illuminate\Support\Str`
17+
18+ ## Features
619
7- Features
820- https://modelcontextprotocol.io/docs/concepts/architecture
921- https://modelcontextprotocol.io/docs/concepts/tools
1022- https://modelcontextprotocol.io/docs/concepts/transports
1123- https://modelcontextprotocol.io/sdk/java/mcp-server
1224
13- Documentation Guidelines
25+ ## Documentation Guidelines
26+
1427- Document all public methods and classes with PHPDoc annotations.
1528- Include `@param`, `@return`, and `@throws` tags for all methods.
1629- Document configuration options with sample values and explanations.
Original file line number Diff line number Diff line change 99 "homepage" : " https://github.com/opgginc/laravel-mcp-server" ,
1010 "license" : " MIT" ,
1111 "require" : {
12- "php" : " ^8.4 " ,
12+ "php" : " ^8.2 " ,
1313 "spatie/laravel-package-tools" : " ^1.16" ,
1414 "illuminate/contracts" : " ^10.0||^11.0||^12.0"
1515 },
You can’t perform that action at this time.
0 commit comments