{"id":37232774,"url":"https://github.com/invokable/laravel-boost-copilot-cli","last_synced_at":"2026-01-15T03:50:47.604Z","repository":{"id":321327257,"uuid":"1085393048","full_name":"invokable/laravel-boost-copilot-cli","owner":"invokable","description":"Laravel Boost Custom CodeEnvironment for GitHub Copilot CLI","archived":false,"fork":false,"pushed_at":"2026-01-09T23:01:21.000Z","size":125,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T13:56:56.605Z","etag":null,"topics":["copilot-cli","laravel-boost"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/revolution/laravel-boost-copilot-cli","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/invokable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["invokable"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-10-29T01:27:01.000Z","updated_at":"2026-01-09T22:40:12.000Z","dependencies_parsed_at":"2025-10-29T04:22:25.656Z","dependency_job_id":"de1aa4b9-08bb-46d1-8bf2-d3b24520333d","html_url":"https://github.com/invokable/laravel-boost-copilot-cli","commit_stats":null,"previous_names":["invokable/laravel-boost-copilot-cli"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/invokable/laravel-boost-copilot-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-boost-copilot-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-boost-copilot-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-boost-copilot-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-boost-copilot-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invokable","download_url":"https://codeload.github.com/invokable/laravel-boost-copilot-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-boost-copilot-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["copilot-cli","laravel-boost"],"created_at":"2026-01-15T03:50:47.055Z","updated_at":"2026-01-15T03:50:47.582Z","avatar_url":"https://github.com/invokable.png","language":"PHP","funding_links":["https://github.com/sponsors/invokable"],"categories":[],"sub_categories":[],"readme":"# Laravel Boost Custom CodeEnvironment for GitHub Copilot CLI\n\n[![tests](https://github.com/invokable/laravel-boost-copilot-cli/actions/workflows/tests.yml/badge.svg)](https://github.com/invokable/laravel-boost-copilot-cli/actions/workflows/tests.yml)\n[![Maintainability](https://qlty.sh/badges/d6389009-a7b8-45fe-a7b3-f07e4ff25a25/maintainability.svg)](https://qlty.sh/gh/invokable/projects/laravel-boost-copilot-cli)\n[![Code Coverage](https://qlty.sh/badges/d6389009-a7b8-45fe-a7b3-f07e4ff25a25/coverage.svg)](https://qlty.sh/gh/invokable/projects/laravel-boost-copilot-cli)\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/invokable/laravel-boost-copilot-cli)\n\n## Requirements\n\n- PHP \u003e= 8.3\n- Laravel \u003e= 12.x\n- [Laravel Boost](https://github.com/laravel/boost) \u003e= 1.7\n- [Copilot CLI](https://github.com/github/copilot-cli) \u003e= 0.0.343\n\n## Supported Platforms\n\n- macOS\n- WSL\n  - Native Windows is not supported, please use [laravel-boost-phpstorm-copilot](https://github.com/invokable/laravel-boost-phpstorm-copilot)\n  - If you manually create an MCP config file, you can use Laravel Boost without this package.\n- Linux\n\n### Laravel Sail\n\nIt also supports Laravel Sail. Before use, start it with `vendor/bin/sail up -d`. The `copilot` command runs outside of Sail.\n\n### Testbench for Package Developers\n\n\u003e [!NOTE]\n\u003e When using Testbench for package development, the environment differs from a regular Laravel project. Some MCP tools that depend on application-specific features (like database connections, specific models, or application routes) may not be available or may not work as expected in the Testbench environment.\n\n\u003cdetails\u003e\n\u003csummary\u003eWhen developing Laravel packages, you can use Laravel Boost with Testbench.\u003c/summary\u003e\n\n#### Setup\n\nFirst, ensure your `testbench.yaml` includes the following configuration:\n\n```yaml\nenv:\n  CACHE_STORE: array\n```\n\nThis is **important** because Laravel Boost tries to use a database cache store by default, which will not work properly.\n\nIf `APP_ENV` is also set, set it to `APP_ENV: local`.\n\n#### Installation\n\nRun the boost installation command using Testbench:\n\n```shell\nvendor/bin/testbench boost:install\n```\n\nThis will generate `.github/mcp-config.json` configured for Testbench environment with the following settings:\n\n```json\n{\n    \"mcpServers\": {\n        \"laravel-boost\": {\n            \"type\": \"local\",\n            \"command\": \"./vendor/bin/testbench\",\n            \"args\": [\n                \"boost:mcp\"\n            ],\n            \"tools\": [\n                \"*\"\n            ]\n        }\n    }\n}\n```\n\n#### Usage\n\nUse Copilot CLI with the generated config:\n\n```shell\ncopilot --additional-mcp-config @.github/mcp-config.json\n```\n\n\u003c/details\u003e\n\n## Installation\n\n```shell\ncomposer require revolution/laravel-boost-copilot-cli --dev\n```\n\n## Usage\n\nWhen you run the Laravel Boost installation command within your Laravel project, you'll see a `GitHub Copilot CLI` item added to the list. \n\n- Select `GitHub Copilot CLI` for the editor. This will create `.github/mcp-config.json`.\n- Select `GitHub Copilot(Custom instructions)` for the guidelines. This will create `.github/instructions/laravel-boost.instructions.md`.\n\nIf you want to create the regular `.github/copilot-instructions.md`, select `GitHub Copilot` for the guidelines.\n\n```shell\nphp artisan boost:install\n```\n\nWhen running the copilot command, specify `.github/mcp-config.json` using the `--additional-mcp-config` option.\n\n```shell\ncopilot --additional-mcp-config @.github/mcp-config.json\n```\n\nIf, after starting Copilot, `Configured MCP servers: laravel-boost` appears, the setup was successful.\n\nFrom now on, always specify the `--additional-mcp-config` option when using the `copilot` command. It can be used together with other options.\n\n```shell\ncopilot --additional-mcp-config @.github/mcp-config.json --resume\n```\n\n```shell\ncopilot --additional-mcp-config @.github/mcp-config.json --continue\n```\n\n### Autoloading `mcp-config.json`\n\n`.bashrc` or `.zshrc` can be modified to automatically load the `mcp-config.json` file if it exists in the current project.\n\n```shell\ncopilot_mcp() {\n  local args=()\n\n  if [ -f \".github/mcp-config.json\" ]; then\n    args+=(--additional-mcp-config @.github/mcp-config.json)\n  fi\n\n  if [ -f \".github/mcp-config.local.json\" ]; then\n    args+=(--additional-mcp-config @.github/mcp-config.local.json)\n  fi\n\n  copilot \"${args[@]}\" \"$@\"\n}\n\nalias copilot=copilot_mcp\n```\n\n```shell\ncopilot\ncopilot --resume\ncopilot --continue\n```\n\n### Local MCP Configuration\n\nFor MCP servers that require sensitive credentials (like Authorization headers), create `.github/mcp-config.local.json` for local-only settings. Add it to `.gitignore` to keep credentials out of version control.\n\n```shell\necho \".github/mcp-config.local.json\" \u003e\u003e .gitignore\n```\n\nExample `.github/mcp-config.local.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"remote-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://example.com/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_TOKEN\"\n      },\n      \"tools\": [\"*\"]\n    }\n  }\n}\n```\n\n## TODO\n- Migrate to Agent Skills when Laravel Boost supports it.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvokable%2Flaravel-boost-copilot-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvokable%2Flaravel-boost-copilot-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvokable%2Flaravel-boost-copilot-cli/lists"}