{"_id":"@changangus/coc-laravel","_rev":"3-19084c668e48d2b392bd7c6174a46892","name":"@changangus/coc-laravel","dist-tags":{"latest":"0.8.2"},"versions":{"0.8.0":{"name":"@changangus/coc-laravel","version":"0.8.0","keywords":["coc.nvim","php","laravel","blade","laravel-blade","vim","neovim"],"author":{"name":"changangus"},"license":"MIT","_id":"@changangus/coc-laravel@0.8.0","maintainers":[{"name":"changangus","email":"changangus2@gmail.com"}],"homepage":"https://github.com/changangus/coc-laravel#readme","bugs":{"url":"https://github.com/changangus/coc-laravel/issues"},"dist":{"shasum":"1f49b8b4ab1773bd3c247960164c24ed923ab119","tarball":"https://registry.npmjs.org/@changangus/coc-laravel/-/coc-laravel-0.8.0.tgz","fileCount":5,"integrity":"sha512-72CRziT5Iluzbj8IyRIKtLFXLALkXwwV3Wh0hlmcXYxrgbqJLqhFdEdXeTFT1G0Gn4BQVlsJA2sZNYcqTRS7OA==","signatures":[{"sig":"MEYCIQD4V+6B8t/n4mF01UfPh4mphuZ1K5j2CHj2Tg9G45xkPQIhAN8EWxSpoBpTZsrWtA08snjOlhCHJJpE31/IrpYAGnBT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1734697},"main":"lib/index.js","engines":{"coc":"^0.0.80"},"gitHead":"37ef8f283c7f7f6483f8184322d976dfee060ce4","scripts":{"lint":"eslint src --ext ts","test":"vitest run src/__tests__","build":"node esbuild.js","clean":"rimraf lib","first":"yarn stubs && yarn laravel:main && yarn laravel:ide-helper","stubs":"rimraf stubs && git clone git@github.com:JetBrains/phpstorm-stubs.git --depth 1 stubs","watch":"node esbuild.js --watch","prepare":"node esbuild.js","test:watch":"vitest src/__tests__","laravel:main":"rimraf laravel-project && composer create-project laravel/laravel:10.* laravel-project && cp -R resources/laravel/laravel-project.env laravel-project/.env && touch laravel-project/database/database.sqlite && cd laravel-project && ./artisan key:generate && ./artisan migrate","laravel:ide-helper":"cd laravel-project && composer require --dev barryvdh/laravel-ide-helper && php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helper:models -N"},"_npmUser":{"name":"changangus","email":"changangus2@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/changangus/coc-laravel.git","type":"git"},"_npmVersion":"10.9.3","contributes":{"commands":[{"title":"Run project restart","command":"laravel.project.restart"},{"title":"(Develop) Show project stats","command":"laravel.project.stats"},{"title":"(Develop) Run project finder","command":"laravel.project.finder"},{"title":"Download stubs","command":"laravel.stubs.download"},{"title":"Show the version of stubs","command":"laravel.stubs.version"},{"title":"Run artisan command","command":"laravel.artisan.run"},{"title":"Run sail artisan command","command":"laravel.sailArtisan.run"},{"title":"Find view file references","command":"laravel.view.findAllReferences"},{"title":"Show laravel output channel","command":"laravel.showOutput"}],"rootPatterns":[{"filetype":"php","patterns":["artisan"]},{"filetype":"blade","patterns":["artisan"]}],"configuration":{"type":"object","title":"coc-laravel configuration","properties":{"laravel.enable":{"type":"boolean","default":true,"description":"Enable coc-laravel extension."},"laravel.hover.enable":{"type":"boolean","default":true,"description":"Enable hover."},"laravel.stubs.useStubs":{"type":"array","default":["Core","date","standard"],"description":"List of stubs to be used."},"laravel.reference.enable":{"type":"boolean","default":true,"description":"Enable reference."},"laravel.codeAction.enable":{"type":"boolean","default":true,"description":"Enable code action."},"laravel.completion.enable":{"type":"boolean","default":true,"description":"Enable completion."},"laravel.definition.enable":{"type":"boolean","default":true,"description":"Enable definition."},"laravel.diagnostic.enable":{"type":"boolean","default":true,"description":"Enable diagnostic."},"laravel.environment.phpPath":{"type":"string","default":"","description":"Path to PHP, you can use a custom version of PHP. If there is no setting, `php` of the execution environment will be used."},"laravel.stubs.customVersion":{"type":"string","default":"","description":"Specify the version of stubs to download with the `laravel.stubs.download` command. If not set, the `stubsVersion` defined in `package.json` will be used."},"laravel.completion.envEnable":{"type":"boolean","default":true,"description":"Enable env completion."},"laravel.completion.viewEnable":{"type":"boolean","default":true,"description":"Enable view completion."},"laravel.completion.guardEnable":{"type":"boolean","default":true,"description":"Enable guard completion."},"laravel.completion.routeEnable":{"type":"boolean","default":true,"description":"Enable route completion."},"laravel.definition.eventEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for event dispatch to event class and listeners."},"laravel.definition.routeEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for route() calls."},"laravel.project.excludeVendors":{"type":"array","default":[],"description":"List of target vendor directories to exclude during project analysis, e.g. [\"fakerphp\", \"phpunit\"]"},"laravel.completion.configEnable":{"type":"boolean","default":true,"description":"Enable config completion."},"laravel.definition.configEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for config() calls."},"laravel.artisan.enableSplitRight":{"type":"boolean","default":false,"description":"Use vertical belowright for artisan terminal window."},"laravel.completion.directiveList":{"type":"array","default":["@extends","@yield","@section","@endsection","@show","@include","@if","@endif","@else","@hasSection","@unless","@endunless","@for","@endfor","@foreach","@endforeach","@forelse","@empty","@endforelse","@while","@endwhile","@each","@verbatim","@endverbatim","@push","@endpush","@stack","@inject","@can","@endcan","@elsecan","@canany","@endcanany","@elsecanany","@cannot","@endcannot","@elsecannot","@php","@endphp","@includeIf","@component","@endcomponent","@slot","@endslot","@isset","@endisset","@endempty","@error","@enderror","@includeWhen","@auth","@endauth","@guest","@endguest","@switch","@case","@break","@default","@endswitch","@includeFirst","@csrf","@method","@dump","@dd","@lang","@includeUnless","@props","@env","@endenv","@production","@endproduction","@once","@endonce","@aware","@js","@class","@checked","@selected","@disabled","@style","@readonly","@required","@pushOnce","@endPushOnce","@prepend","@prependOnce","@endPrependOnce","@livewire","@livewireStyles","@livewireScripts"],"description":"List of directive used in directive completion."},"laravel.completion.livewireEnable":{"type":"boolean","default":true,"description":"Enable livewire completion."},"laravel.completion.phpClassEnable":{"type":"boolean","default":true,"description":"Enable php class completion."},"laravel.completion.componentEnable":{"type":"boolean","default":true,"description":"Enable component completion."},"laravel.completion.directiveEnable":{"type":"boolean","default":true,"description":"Enable directive completion."},"laravel.completion.middlewareEnable":{"type":"boolean","default":true,"description":"Enable middleware completion."},"laravel.completion.phpKeywordEnable":{"type":"boolean","default":true,"description":"Enable php keyword completion."},"laravel.completion.validationEnable":{"type":"boolean","default":true,"description":"Enable validation completion."},"laravel.completion.phpConstantEnable":{"type":"boolean","default":true,"description":"Enable php constant completion."},"laravel.completion.phpFunctionEnable":{"type":"boolean","default":true,"description":"Enable php function completion."},"laravel.completion.phpVariableEnable":{"type":"boolean","default":true,"description":"Enable php variable completion."},"laravel.completion.translationEnable":{"type":"boolean","default":true,"description":"Enable translation completion."},"laravel.definition.translationEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for __(), trans(), and @lang() calls."},"laravel.livewire.wireClickAttributes":{"type":"array","default":["click","click.prefetch","submit","submit.prevent","keydown","keydown.enter"],"description":"List of click related action to be added to `wire:xxxx`."},"laravel.livewire.wireEventAttributes":{"type":"array","default":["key","poll","poll.500ms","poll.keep-alive","poll.visible","init","loading","loading.class","loading.class.remove","loading.attr","loading.delay","loading.delay.shortest","loading.delay.shorter","loading.delay.short","loading.delay.long","loading.delay.longer","loading.delay.longest","dirty","dirty.class","dirty.class.remove","dirty.attr","offline","offline.class","offline.class.remove","offline.attr","target","ignore","ignore.self","abort","afterprint","animationend","animationiteration","animationstart","beforeprint","beforeunload","blur","canplay","canplaythrough","change","contextmenu","copy","cut","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","ended","error","focus","focusin","focusout","fullscreenchange","fullscreenerror","hashchange","input","invalid","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","message","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseout","mouseup","online","open","pagehide","pageshow","paste","pause","play","playing","popstate","progress","ratechange","resize","reset","scroll","search","seeked","seeking","select","show","stalled","storage","suspend","timeupdate","toggle","touchcancel","touchend","touchmove","touchstart","transitionend","unload","volumechange","waiting","wheel"],"description":"List of browser events to be added to wire:xxxx. No need for wire:model or wire:click."},"laravel.livewire.wireModelAttributes":{"type":"array","default":["model","model.debounce.100ms","model.lazy","model.defer"],"description":"List of model related action to be added to wire:xxxx."},"laravel.project.startupMessageEnable":{"type":"boolean","default":true,"description":"Enable project startup messages."},"laravel.completion.policyMethodEnable":{"type":"boolean","default":true,"description":"Enable policy method completion for @can, authorize(), Gate::allows(), etc."},"laravel.completion.phpClass.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpClass completion."},"laravel.completion.methodParameterEnable":{"type":"boolean","default":true,"description":"Enable method parameter completion."},"laravel.completion.phpClass.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpClass completion."},"laravel.completion.phpObjectMemberEnable":{"type":"boolean","default":true,"description":"Enable php object member completion."},"laravel.completion.controllerActionEnable":{"type":"boolean","default":true,"description":"Enable controller action method completion in route definitions."},"laravel.completion.phpConstant.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpConstant completion."},"laravel.completion.phpFunction.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpFunction completion."},"laravel.artisan.withoutArgumentsCommandList":{"type":"array","default":[],"description":"List of commands to quickly execute `laravel.artisan.run` or `laravel.sailArtisan.run` without prompting for arguments or options, e.g. `[\"route:list\", \"clear-compiled\"]`."},"laravel.completion.eloquentModelFieldEnable":{"type":"boolean","default":true,"description":"Enable eloquent model field completion."},"laravel.completion.phpConstant.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpConstant completion."},"laravel.completion.phpFunction.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpFunction completion."},"laravel.completion.phpStaticClassMemberEnable":{"type":"boolean","default":true,"description":"Enable php static class member completion."},"laravel.completion.viewReferenceVariableEnable":{"type":"boolean","default":true,"description":"Enable view reference variable completion."}}}},"description":"Laravel extension for coc.nvim","directories":{},"_nodeVersion":"22.19.0","dependencies":{"fast-glob":"^3.3.3","minimatch":"^10.2.5","inflection":"^3.0.2","php-parser":"3.5.1","case-anything":"^3.1.2","stillat-blade-parser":"1.2.0","vscode-html-languageservice":"^5.6.2"},"stubsVersion":"v2023.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.1.0","rimraf":"^6.1.3","vitest":"^4.1.2","esbuild":"^0.27.5","coc.nvim":"^0.0.83-next.17","prettier":"^3.8.1","node-fetch":"^3.3.2","typescript":"~6.0.2","@types/node":"^25.5.0","extract-zip":"^2.0.1","@types/node-fetch":"^2.6.13","https-proxy-agent":"^9.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.58.0","@typescript-eslint/eslint-plugin":"^8.58.0"},"activationEvents":["onLanguage:php","onLanguage:blade"],"_npmOperationalInternal":{"tmp":"tmp/coc-laravel_0.8.0_1775148124734_0.7337185811712055","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@changangus/coc-laravel","version":"0.8.1","keywords":["coc.nvim","php","laravel","blade","laravel-blade","vim","neovim"],"author":{"name":"changangus"},"license":"MIT","_id":"@changangus/coc-laravel@0.8.1","maintainers":[{"name":"changangus","email":"changangus2@gmail.com"}],"homepage":"https://github.com/changangus/coc-laravel#readme","bugs":{"url":"https://github.com/changangus/coc-laravel/issues"},"dist":{"shasum":"ccdb066b8134b1bf939d096597bcf870c4e60cef","tarball":"https://registry.npmjs.org/@changangus/coc-laravel/-/coc-laravel-0.8.1.tgz","fileCount":5,"integrity":"sha512-8/NeX3iORRPhcG072p4G8elr5AnSpoZZZ/sTCClgaZYCsTX4C2WT/L1svRas1ipveuVvl0kxXoZ8CjAlM21YQg==","signatures":[{"sig":"MEUCIGysV7QiijC540n3FGsnbob57Si1NBFlA0ZO6HsG0xCIAiEA4X3GKMeiYIb2G3vPmwbbH2cKk90esLVEJ5jIqMLoBNA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1640806},"main":"lib/index.js","engines":{"coc":"^0.0.80"},"gitHead":"45c71de5959c3334f65b3817d837e851f77bcc63","scripts":{"lint":"eslint src --ext ts","test":"vitest run src/__tests__","build":"node esbuild.js","clean":"rimraf lib","first":"yarn stubs && yarn laravel:main && yarn laravel:ide-helper","stubs":"rimraf stubs && git clone git@github.com:JetBrains/phpstorm-stubs.git --depth 1 stubs","watch":"node esbuild.js --watch","prepare":"node esbuild.js","test:watch":"vitest src/__tests__","laravel:main":"rimraf laravel-project && composer create-project laravel/laravel:10.* laravel-project && cp -R resources/laravel/laravel-project.env laravel-project/.env && touch laravel-project/database/database.sqlite && cd laravel-project && ./artisan key:generate && ./artisan migrate","laravel:ide-helper":"cd laravel-project && composer require --dev barryvdh/laravel-ide-helper && php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helper:models -N"},"_npmUser":{"name":"changangus","email":"changangus2@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/changangus/coc-laravel.git","type":"git"},"_npmVersion":"10.9.3","contributes":{"commands":[{"title":"Run project restart","command":"laravel.project.restart"},{"title":"(Develop) Show project stats","command":"laravel.project.stats"},{"title":"(Develop) Run project finder","command":"laravel.project.finder"},{"title":"Download stubs","command":"laravel.stubs.download"},{"title":"Show the version of stubs","command":"laravel.stubs.version"},{"title":"Run artisan command","command":"laravel.artisan.run"},{"title":"Run sail artisan command","command":"laravel.sailArtisan.run"},{"title":"Find view file references","command":"laravel.view.findAllReferences"},{"title":"Show laravel output channel","command":"laravel.showOutput"}],"rootPatterns":[{"filetype":"php","patterns":["artisan"]},{"filetype":"blade","patterns":["artisan"]}],"configuration":{"type":"object","title":"coc-laravel configuration","properties":{"laravel.enable":{"type":"boolean","default":true,"description":"Enable coc-laravel extension."},"laravel.hover.enable":{"type":"boolean","default":true,"description":"Enable hover."},"laravel.stubs.useStubs":{"type":"array","default":["Core","date","standard"],"description":"List of stubs to be used."},"laravel.reference.enable":{"type":"boolean","default":true,"description":"Enable reference."},"laravel.codeAction.enable":{"type":"boolean","default":true,"description":"Enable code action."},"laravel.completion.enable":{"type":"boolean","default":true,"description":"Enable completion."},"laravel.definition.enable":{"type":"boolean","default":true,"description":"Enable definition."},"laravel.diagnostic.enable":{"type":"boolean","default":true,"description":"Enable diagnostic."},"laravel.environment.phpPath":{"type":"string","default":"","description":"Path to PHP, you can use a custom version of PHP. If there is no setting, `php` of the execution environment will be used."},"laravel.stubs.customVersion":{"type":"string","default":"","description":"Specify the version of stubs to download with the `laravel.stubs.download` command. If not set, the `stubsVersion` defined in `package.json` will be used."},"laravel.completion.envEnable":{"type":"boolean","default":true,"description":"Enable env completion."},"laravel.completion.viewEnable":{"type":"boolean","default":true,"description":"Enable view completion."},"laravel.completion.guardEnable":{"type":"boolean","default":true,"description":"Enable guard completion."},"laravel.completion.routeEnable":{"type":"boolean","default":true,"description":"Enable route completion."},"laravel.definition.eventEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for event dispatch to event class and listeners."},"laravel.definition.routeEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for route() calls."},"laravel.project.excludeVendors":{"type":"array","default":[],"description":"List of target vendor directories to exclude during project analysis, e.g. [\"fakerphp\", \"phpunit\"]"},"laravel.completion.configEnable":{"type":"boolean","default":true,"description":"Enable config completion."},"laravel.definition.configEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for config() calls."},"laravel.artisan.enableSplitRight":{"type":"boolean","default":false,"description":"Use vertical belowright for artisan terminal window."},"laravel.completion.directiveList":{"type":"array","default":["@extends","@yield","@section","@endsection","@show","@include","@if","@endif","@else","@hasSection","@unless","@endunless","@for","@endfor","@foreach","@endforeach","@forelse","@empty","@endforelse","@while","@endwhile","@each","@verbatim","@endverbatim","@push","@endpush","@stack","@inject","@can","@endcan","@elsecan","@canany","@endcanany","@elsecanany","@cannot","@endcannot","@elsecannot","@php","@endphp","@includeIf","@component","@endcomponent","@slot","@endslot","@isset","@endisset","@endempty","@error","@enderror","@includeWhen","@auth","@endauth","@guest","@endguest","@switch","@case","@break","@default","@endswitch","@includeFirst","@csrf","@method","@dump","@dd","@lang","@includeUnless","@props","@env","@endenv","@production","@endproduction","@once","@endonce","@aware","@js","@class","@checked","@selected","@disabled","@style","@readonly","@required","@pushOnce","@endPushOnce","@prepend","@prependOnce","@endPrependOnce","@livewire","@livewireStyles","@livewireScripts"],"description":"List of directive used in directive completion."},"laravel.completion.livewireEnable":{"type":"boolean","default":true,"description":"Enable livewire completion."},"laravel.completion.phpClassEnable":{"type":"boolean","default":true,"description":"Enable php class completion."},"laravel.completion.componentEnable":{"type":"boolean","default":true,"description":"Enable component completion."},"laravel.completion.directiveEnable":{"type":"boolean","default":true,"description":"Enable directive completion."},"laravel.completion.middlewareEnable":{"type":"boolean","default":true,"description":"Enable middleware completion."},"laravel.completion.phpKeywordEnable":{"type":"boolean","default":true,"description":"Enable php keyword completion."},"laravel.completion.validationEnable":{"type":"boolean","default":true,"description":"Enable validation completion."},"laravel.completion.phpConstantEnable":{"type":"boolean","default":true,"description":"Enable php constant completion."},"laravel.completion.phpFunctionEnable":{"type":"boolean","default":true,"description":"Enable php function completion."},"laravel.completion.phpVariableEnable":{"type":"boolean","default":true,"description":"Enable php variable completion."},"laravel.completion.translationEnable":{"type":"boolean","default":true,"description":"Enable translation completion."},"laravel.definition.translationEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for __(), trans(), and @lang() calls."},"laravel.livewire.wireClickAttributes":{"type":"array","default":["click","click.prefetch","submit","submit.prevent","keydown","keydown.enter"],"description":"List of click related action to be added to `wire:xxxx`."},"laravel.livewire.wireEventAttributes":{"type":"array","default":["key","poll","poll.500ms","poll.keep-alive","poll.visible","init","loading","loading.class","loading.class.remove","loading.attr","loading.delay","loading.delay.shortest","loading.delay.shorter","loading.delay.short","loading.delay.long","loading.delay.longer","loading.delay.longest","dirty","dirty.class","dirty.class.remove","dirty.attr","offline","offline.class","offline.class.remove","offline.attr","target","ignore","ignore.self","abort","afterprint","animationend","animationiteration","animationstart","beforeprint","beforeunload","blur","canplay","canplaythrough","change","contextmenu","copy","cut","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","ended","error","focus","focusin","focusout","fullscreenchange","fullscreenerror","hashchange","input","invalid","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","message","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseout","mouseup","online","open","pagehide","pageshow","paste","pause","play","playing","popstate","progress","ratechange","resize","reset","scroll","search","seeked","seeking","select","show","stalled","storage","suspend","timeupdate","toggle","touchcancel","touchend","touchmove","touchstart","transitionend","unload","volumechange","waiting","wheel"],"description":"List of browser events to be added to wire:xxxx. No need for wire:model or wire:click."},"laravel.livewire.wireModelAttributes":{"type":"array","default":["model","model.debounce.100ms","model.lazy","model.defer"],"description":"List of model related action to be added to wire:xxxx."},"laravel.project.startupMessageEnable":{"type":"boolean","default":true,"description":"Enable project startup messages."},"laravel.completion.policyMethodEnable":{"type":"boolean","default":true,"description":"Enable policy method completion for @can, authorize(), Gate::allows(), etc."},"laravel.completion.phpClass.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpClass completion."},"laravel.completion.methodParameterEnable":{"type":"boolean","default":true,"description":"Enable method parameter completion."},"laravel.completion.phpClass.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpClass completion."},"laravel.completion.phpObjectMemberEnable":{"type":"boolean","default":true,"description":"Enable php object member completion."},"laravel.completion.controllerActionEnable":{"type":"boolean","default":true,"description":"Enable controller action method completion in route definitions."},"laravel.completion.phpConstant.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpConstant completion."},"laravel.completion.phpFunction.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpFunction completion."},"laravel.artisan.withoutArgumentsCommandList":{"type":"array","default":[],"description":"List of commands to quickly execute `laravel.artisan.run` or `laravel.sailArtisan.run` without prompting for arguments or options, e.g. `[\"route:list\", \"clear-compiled\"]`."},"laravel.completion.eloquentModelFieldEnable":{"type":"boolean","default":true,"description":"Enable eloquent model field completion."},"laravel.completion.phpConstant.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpConstant completion."},"laravel.completion.phpFunction.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpFunction completion."},"laravel.completion.phpStaticClassMemberEnable":{"type":"boolean","default":true,"description":"Enable php static class member completion."},"laravel.completion.viewReferenceVariableEnable":{"type":"boolean","default":true,"description":"Enable view reference variable completion."}}}},"description":"Laravel extension for coc.nvim","directories":{},"_nodeVersion":"22.19.0","dependencies":{"fast-glob":"^3.3.3","minimatch":"^10.2.5","inflection":"^3.0.2","php-parser":"3.5.1","case-anything":"^3.1.2","stillat-blade-parser":"1.2.0","vscode-html-languageservice":"^5.6.2"},"stubsVersion":"v2023.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.1.0","rimraf":"^6.1.3","vitest":"^4.1.2","esbuild":"^0.27.5","coc.nvim":"^0.0.83-next.17","prettier":"^3.8.1","typescript":"~6.0.2","@types/node":"^25.5.0","extract-zip":"^2.0.1","https-proxy-agent":"^9.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.58.0","@typescript-eslint/eslint-plugin":"^8.58.0"},"activationEvents":["onLanguage:php","onLanguage:blade"],"_npmOperationalInternal":{"tmp":"tmp/coc-laravel_0.8.1_1775405038808_0.1092076220666367","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@changangus/coc-laravel","version":"0.8.2","stubsVersion":"v2023.2","description":"Laravel extension for coc.nvim","author":{"name":"changangus"},"license":"MIT","main":"lib/index.js","keywords":["coc.nvim","php","laravel","blade","laravel-blade","vim","neovim"],"engines":{"coc":"^0.0.80"},"repository":{"type":"git","url":"git+https://github.com/changangus/coc-laravel.git"},"publishConfig":{"access":"public"},"scripts":{"first":"yarn stubs && yarn laravel:main && yarn laravel:ide-helper","stubs":"rimraf stubs && git clone git@github.com:JetBrains/phpstorm-stubs.git --depth 1 stubs","laravel:main":"rimraf laravel-project && composer create-project laravel/laravel:10.* laravel-project && cp -R resources/laravel/laravel-project.env laravel-project/.env && touch laravel-project/database/database.sqlite && cd laravel-project && ./artisan key:generate && ./artisan migrate","laravel:ide-helper":"cd laravel-project && composer require --dev barryvdh/laravel-ide-helper && php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helper:models -N","test":"vitest run src/__tests__","test:watch":"vitest src/__tests__","lint":"eslint src --ext ts","clean":"rimraf lib","watch":"node esbuild.js --watch","build":"node esbuild.js","prepare":"node esbuild.js"},"prettier":{"singleQuote":true,"printWidth":120,"semi":true},"devDependencies":{"@types/node":"^25.5.0","@typescript-eslint/eslint-plugin":"^8.58.0","@typescript-eslint/parser":"^8.58.0","coc.nvim":"^0.0.83-next.17","esbuild":"^0.27.5","eslint":"^10.1.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","extract-zip":"^2.0.1","https-proxy-agent":"^9.0.0","prettier":"^3.8.1","rimraf":"^6.1.3","typescript":"~6.0.2","vitest":"^4.1.2"},"activationEvents":["onLanguage:php","onLanguage:blade"],"contributes":{"rootPatterns":[{"filetype":"php","patterns":["artisan"]},{"filetype":"blade","patterns":["artisan"]}],"configuration":{"type":"object","title":"coc-laravel configuration","properties":{"laravel.enable":{"type":"boolean","default":true,"description":"Enable coc-laravel extension."},"laravel.environment.phpPath":{"type":"string","default":"","description":"Path to PHP, you can use a custom version of PHP. If there is no setting, `php` of the execution environment will be used."},"laravel.project.excludeVendors":{"type":"array","default":[],"description":"List of target vendor directories to exclude during project analysis, e.g. [\"fakerphp\", \"phpunit\"]"},"laravel.project.startupMessageEnable":{"type":"boolean","default":true,"description":"Enable project startup messages."},"laravel.stubs.customVersion":{"type":"string","default":"","description":"Specify the version of stubs to download with the `laravel.stubs.download` command. If not set, the `stubsVersion` defined in `package.json` will be used."},"laravel.stubs.useStubs":{"type":"array","default":["Core","date","standard"],"description":"List of stubs to be used."},"laravel.completion.enable":{"type":"boolean","default":true,"description":"Enable completion."},"laravel.completion.directiveEnable":{"type":"boolean","default":true,"description":"Enable directive completion."},"laravel.completion.directiveList":{"type":"array","default":["@extends","@yield","@section","@endsection","@show","@include","@if","@endif","@else","@hasSection","@unless","@endunless","@for","@endfor","@foreach","@endforeach","@forelse","@empty","@endforelse","@while","@endwhile","@each","@verbatim","@endverbatim","@push","@endpush","@stack","@inject","@can","@endcan","@elsecan","@canany","@endcanany","@elsecanany","@cannot","@endcannot","@elsecannot","@php","@endphp","@includeIf","@component","@endcomponent","@slot","@endslot","@isset","@endisset","@endempty","@error","@enderror","@includeWhen","@auth","@endauth","@guest","@endguest","@switch","@case","@break","@default","@endswitch","@includeFirst","@csrf","@method","@dump","@dd","@lang","@includeUnless","@props","@env","@endenv","@production","@endproduction","@once","@endonce","@aware","@js","@class","@checked","@selected","@disabled","@style","@readonly","@required","@pushOnce","@endPushOnce","@prepend","@prependOnce","@endPrependOnce","@livewire","@livewireStyles","@livewireScripts"],"description":"List of directive used in directive completion."},"laravel.completion.configEnable":{"type":"boolean","default":true,"description":"Enable config completion."},"laravel.completion.envEnable":{"type":"boolean","default":true,"description":"Enable env completion."},"laravel.completion.validationEnable":{"type":"boolean","default":true,"description":"Enable validation completion."},"laravel.completion.routeEnable":{"type":"boolean","default":true,"description":"Enable route completion."},"laravel.completion.viewEnable":{"type":"boolean","default":true,"description":"Enable view completion."},"laravel.completion.middlewareEnable":{"type":"boolean","default":true,"description":"Enable middleware completion."},"laravel.completion.guardEnable":{"type":"boolean","default":true,"description":"Enable guard completion."},"laravel.completion.translationEnable":{"type":"boolean","default":true,"description":"Enable translation completion."},"laravel.completion.componentEnable":{"type":"boolean","default":true,"description":"Enable component completion."},"laravel.completion.phpFunctionEnable":{"type":"boolean","default":true,"description":"Enable php function completion."},"laravel.completion.phpFunction.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpFunction completion."},"laravel.completion.phpFunction.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpFunction completion."},"laravel.completion.phpClassEnable":{"type":"boolean","default":true,"description":"Enable php class completion."},"laravel.completion.phpClass.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpClass completion."},"laravel.completion.phpClass.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpClass completion."},"laravel.completion.phpConstantEnable":{"type":"boolean","default":true,"description":"Enable php constant completion."},"laravel.completion.phpConstant.stubsEnable":{"type":"boolean","default":true,"description":"Enable stubs in phpConstant completion."},"laravel.completion.phpConstant.vendorEnable":{"type":"boolean","default":true,"description":"Enable vendor in phpConstant completion."},"laravel.completion.phpStaticClassMemberEnable":{"type":"boolean","default":true,"description":"Enable php static class member completion."},"laravel.completion.phpObjectMemberEnable":{"type":"boolean","default":true,"description":"Enable php object member completion."},"laravel.completion.phpVariableEnable":{"type":"boolean","default":true,"description":"Enable php variable completion."},"laravel.completion.phpKeywordEnable":{"type":"boolean","default":true,"description":"Enable php keyword completion."},"laravel.completion.eloquentModelFieldEnable":{"type":"boolean","default":true,"description":"Enable eloquent model field completion."},"laravel.completion.controllerActionEnable":{"type":"boolean","default":true,"description":"Enable controller action method completion in route definitions."},"laravel.completion.policyMethodEnable":{"type":"boolean","default":true,"description":"Enable policy method completion for @can, authorize(), Gate::allows(), etc."},"laravel.completion.viewReferenceVariableEnable":{"type":"boolean","default":true,"description":"Enable view reference variable completion."},"laravel.completion.methodParameterEnable":{"type":"boolean","default":true,"description":"Enable method parameter completion."},"laravel.completion.livewireEnable":{"type":"boolean","default":true,"description":"Enable livewire completion."},"laravel.livewire.wireClickAttributes":{"type":"array","default":["click","click.prefetch","submit","submit.prevent","keydown","keydown.enter"],"description":"List of click related action to be added to `wire:xxxx`."},"laravel.livewire.wireModelAttributes":{"type":"array","default":["model","model.debounce.100ms","model.lazy","model.defer"],"description":"List of model related action to be added to wire:xxxx."},"laravel.livewire.wireEventAttributes":{"type":"array","default":["key","poll","poll.500ms","poll.keep-alive","poll.visible","init","loading","loading.class","loading.class.remove","loading.attr","loading.delay","loading.delay.shortest","loading.delay.shorter","loading.delay.short","loading.delay.long","loading.delay.longer","loading.delay.longest","dirty","dirty.class","dirty.class.remove","dirty.attr","offline","offline.class","offline.class.remove","offline.attr","target","ignore","ignore.self","abort","afterprint","animationend","animationiteration","animationstart","beforeprint","beforeunload","blur","canplay","canplaythrough","change","contextmenu","copy","cut","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","ended","error","focus","focusin","focusout","fullscreenchange","fullscreenerror","hashchange","input","invalid","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","message","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseout","mouseup","online","open","pagehide","pageshow","paste","pause","play","playing","popstate","progress","ratechange","resize","reset","scroll","search","seeked","seeking","select","show","stalled","storage","suspend","timeupdate","toggle","touchcancel","touchend","touchmove","touchstart","transitionend","unload","volumechange","waiting","wheel"],"description":"List of browser events to be added to wire:xxxx. No need for wire:model or wire:click."},"laravel.definition.enable":{"type":"boolean","default":true,"description":"Enable definition."},"laravel.definition.configEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for config() calls."},"laravel.definition.translationEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for __(), trans(), and @lang() calls."},"laravel.definition.routeEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for route() calls."},"laravel.definition.eventEnable":{"type":"boolean","default":true,"description":"Enable go-to-definition for event dispatch to event class and listeners."},"laravel.reference.enable":{"type":"boolean","default":true,"description":"Enable reference."},"laravel.hover.enable":{"type":"boolean","default":true,"description":"Enable hover."},"laravel.diagnostic.enable":{"type":"boolean","default":true,"description":"Enable diagnostic."},"laravel.codeAction.enable":{"type":"boolean","default":true,"description":"Enable code action."},"laravel.artisan.withoutArgumentsCommandList":{"type":"array","default":[],"description":"List of commands to quickly execute `laravel.artisan.run` or `laravel.sailArtisan.run` without prompting for arguments or options, e.g. `[\"route:list\", \"clear-compiled\"]`."},"laravel.artisan.enableSplitRight":{"type":"boolean","default":false,"description":"Use vertical belowright for artisan terminal window."}}},"commands":[{"command":"laravel.project.restart","title":"Run project restart"},{"command":"laravel.project.stats","title":"(Develop) Show project stats"},{"command":"laravel.project.finder","title":"(Develop) Run project finder"},{"command":"laravel.stubs.download","title":"Download stubs"},{"command":"laravel.stubs.version","title":"Show the version of stubs"},{"command":"laravel.artisan.run","title":"Run artisan command"},{"command":"laravel.sailArtisan.run","title":"Run sail artisan command"},{"command":"laravel.view.findAllReferences","title":"Find view file references"},{"command":"laravel.showOutput","title":"Show laravel output channel"}]},"dependencies":{"case-anything":"^3.1.2","fast-glob":"^3.3.3","inflection":"^3.0.2","minimatch":"^10.2.5","php-parser":"3.5.1","stillat-blade-parser":"1.2.0","vscode-html-languageservice":"^5.6.2"},"_id":"@changangus/coc-laravel@0.8.2","gitHead":"45c71de5959c3334f65b3817d837e851f77bcc63","bugs":{"url":"https://github.com/changangus/coc-laravel/issues"},"homepage":"https://github.com/changangus/coc-laravel#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-wq3QdD5IMJIYH4MprzCW7V85tx0yKdjZXDZ5rgmDE6TKMq25nHBPtIK6gAn5ueUQ5hPdCrzIqQvrrrONIjni5Q==","shasum":"0a517487cff46ff0d41305e3346c1a24609a2326","tarball":"https://registry.npmjs.org/@changangus/coc-laravel/-/coc-laravel-0.8.2.tgz","fileCount":5,"unpackedSize":1640815,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIB7J13D8nz+U4XgqCxj89ThqAOBAaSg3o+qCQJ1FI11QAiEA+bszC7xMPm1SgxJFQ7wP4LQ6R6JwbpKMpAMIIQOpfZ0="}]},"_npmUser":{"name":"changangus","email":"changangus2@gmail.com"},"directories":{},"maintainers":[{"name":"changangus","email":"changangus2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/coc-laravel_0.8.2_1775789810705_0.5118807403465002"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-02T16:42:04.628Z","modified":"2026-04-10T02:56:50.964Z","0.8.0":"2026-04-02T16:42:04.917Z","0.8.1":"2026-04-05T16:03:59.025Z","0.8.2":"2026-04-10T02:56:50.866Z"},"bugs":{"url":"https://github.com/changangus/coc-laravel/issues"},"author":{"name":"changangus"},"license":"MIT","homepage":"https://github.com/changangus/coc-laravel#readme","keywords":["coc.nvim","php","laravel","blade","laravel-blade","vim","neovim"],"repository":{"type":"git","url":"git+https://github.com/changangus/coc-laravel.git"},"description":"Laravel extension for coc.nvim","maintainers":[{"name":"changangus","email":"changangus2@gmail.com"}],"readme":"# coc-laravel\n\nLaravel extension for [coc.nvim](https://github.com/neoclide/coc.nvim).\n\n> **Note**: This is a fork of [@yaegassy/coc-laravel](https://github.com/yaegassy/coc-laravel) with bug fixes and additional features.\n\n## What's Changed\n\n### Bug Fixes\n\n- **Fixed PHP 8.5 deprecation warnings breaking the extension**: PHP 8.5 outputs deprecation notices (e.g., `Deprecated: Constant PDO::MYSQL_ATTR_SSL_CA...`) to stdout, which corrupted artisan tinker output used for config/path resolution. This caused `ENAMETOOLONG` errors when the extension tried to use the polluted output as file paths. All artisan command output is now sanitized by stripping PHP warning/notice lines before processing.\n\n### New Features\n\n- **Config go-to-definition**: Jump from `config('app.name')` to `config/app.php` at the exact key, with nested key support. Works in both PHP and Blade files.\n- **Translation go-to-definition**: Jump from `__('messages.welcome')`, `trans()`, or `@lang()` to the corresponding entry in your lang files. Works in both PHP and Blade files.\n- **Route go-to-definition**: Jump from `route('users.index')` to both the route definition in `routes/*.php` (where `->name()` is called) and the controller action method. Works in both PHP and Blade files.\n- **Event/listener navigation**: Jump from `event(new OrderShipped(...))` or `OrderShipped::dispatch()` to the event class and all registered listener classes (parsed from `EventServiceProvider`).\n- **Controller action completion**: In route definitions like `Route::get('/users', [UserController::class, ''])`, get completion for the controller's public methods.\n- **Eloquent relationship completion**: Model field completion now also includes relationships parsed from `@property-read` annotations in `_ide_helper_models.php`.\n- **Policy method completion**: Complete policy method names in `@can()`, `authorize()`, `Gate::allows()`, and similar constructs. Policies are discovered from `app/Policies/` and `AuthServiceProvider`.\n\n### Package Updates\n\n- Updated all dependencies to latest versions\n- Fixed esbuild config for compatibility with esbuild v0.27+\n- Pinned `stillat-blade-parser` to v1.2.0 (v2 is not yet compatible)\n\n---\n\n## Install\n\n**CocInstall**:\n\n```vim\n:CocInstall @changangus/coc-laravel\n```\n\n**vim-plug**:\n\n```vim\nPlug 'changangus/coc-laravel', {'do': 'npm install --legacy-peer-deps && npm run build'}\n```\n\n## Features\n\n**Note**:\n\nThis coc-extension executes `artisan` commands in the background for some features. Therefore, you must be able to run `PHP` in your environment.\n\n---\n\nThis coc-extension will provide various completion features and more features for Laravel projects.\n\n- Completions\n  - Component completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1650935001)\n  - Livewire completion (Also compatible with Livewire `v3`!)\n    - Livewire tag completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1658762452)\n    - Livewire action completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1658765335)\n    - Livewire event completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1658766120)\n    - Livewire property completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1659497932)\n    - Livewire directive completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1659296731)\n  - PHP completion in PHP-related region of Blade file\n    - **[NOTE]**: To use this feature, please execute the `laravel.stubs.download` command.\n    - PHP Function completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1643359916)\n    - PHP Class completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1671277304)\n    - PHP Static Class completion (Static class members and constants, e.g. `DateTime::|`) | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1674415047)\n    - PHP Object Member completion (e.g. `$obj->|`) | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1678240483)\n    - PHP Variable completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1676733936)\n    - PHP Constant completion | [DESCRIPTION](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1671281861)\n    - PHP Keyword completion | [DESCRIPTION](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1671284071)\n  - Directive completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1657000532)\n  - Config completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635266998)\n  - Env completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635267885)\n  - Validation completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635268664)\n  - Route completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635269933)\n  - View completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635271315)\n  - Middleware completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635271630)\n  - Guard completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1635272378)\n  - Translation completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1637244306)\n  - Method directive parameter completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1647629965)\n  - View reference variable completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1695541537)\n  - Eloquent model field completion | [DEMO](https://github.com/yaegassy/coc-laravel/issues/1#issuecomment-1692855711)\n    - Completion feature using `_ide_helper_models.php` file generated by [laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper)\n    - Now also includes relationship completion from `@property-read` annotations\n  - **Controller action completion** (NEW)\n    - Complete controller method names in route definitions, e.g. `Route::get('/users', [UserController::class, '|'])`\n  - **Policy method completion** (NEW)\n    - Complete policy method names in `@can()`, `authorize()`, `Gate::allows()`, etc.\n    - Discovers policies from `app/Policies/` and `AuthServiceProvider`\n  - Misc\n    - Please install [coc-blade](https://github.com/yaegassy/coc-blade), it is implemented in [coc-blade](https://github.com/yaegassy/coc-blade)\n- Definitions\n  - View definition | [DEMO](https://github.com/yaegassy/coc-laravel/issues/2#issuecomment-1644973067)\n    - [PHP -> Blade] Definition jump to the Blade template specified by the view() function.\n  - Blade View definition | [DEMO](https://github.com/yaegassy/coc-laravel/issues/2#issuecomment-1644973626)\n    - [Blade -> Blade] Jump to the Blade template specified by the `@extends` and `@include` directives.\n  - Component definition | [DEMO](https://github.com/yaegassy/coc-laravel/issues/2#issuecomment-1644974475)\n    - [Blade -> PHP or Blade] Jump to the component file. Both class components and anonymous components are supported.\n  - Livewire tag definition | [DEMO](https://github.com/yaegassy/coc-laravel/issues/2#issuecomment-1658759781)\n    - [Blade -> PHP or Blade] Jump to the livewire file. Both livewire class and blade template are supported.\n  - Livewire directive definition | [DEMO](https://github.com/yaegassy/coc-laravel/issues/2#issuecomment-1659297842)\n    - [Blade -> PHP or Blade] Jump to the livewire file. Both livewire class and blade template are supported.\n  - **Config definition** (NEW)\n    - [PHP/Blade -> PHP] Jump from `config('app.name')` to the config file at the exact key.\n  - **Translation definition** (NEW)\n    - [PHP/Blade -> PHP] Jump from `__('messages.welcome')`, `trans()`, or `@lang()` to the lang file entry.\n  - **Route definition** (NEW)\n    - [PHP/Blade -> PHP] Jump from `route('name')` to the route definition and controller action.\n  - **Event/listener definition** (NEW)\n    - [PHP -> PHP] Jump from `event()` or `Event::dispatch()` to event class and listener files.\n- References\n  - `laravel.view.findAllReferences` command | [DEMO](https://github.com/yaegassy/coc-laravel/issues/3#issuecomment-1645929779)\n    - [Blade -> PHP] Show references to PHP files that use the current blade\n      file. Referenced directories are `routes`, `app/Http/Controllers`,\n      `app/View/Components`, `app/Http/Livewire` and `app/Livewire`.\n  - View reference | [DEMO](https://github.com/yaegassy/coc-laravel/issues/3#issuecomment-1645932674)\n    - [PHP -> Blade] Reference to a PHP file that uses the same template in the view function.\n- Hovers\n  - ComponentTag Hover | [DEMO](https://github.com/yaegassy/coc-laravel/issues/4#issue-1816594130)\n- Diagnostics\n  - Missing component validation | [DEMO](https://github.com/yaegassy/coc-laravel/issues/5#issuecomment-1657287255)\n  - Method directive parameter validation | [DEMO](https://github.com/yaegassy/coc-laravel/issues/5#issuecomment-1647636587)\n- CodeActions\n  - Create blade component | [DEMO](https://github.com/yaegassy/coc-laravel/issues/6#issuecomment-1657002340)\n  - Fix method directive parameter | [DEMO](https://github.com/yaegassy/coc-laravel/issues/6#issuecomment-1648914444)\n- Artisan and Sail commands integration\n  - `laravel.artisan.run` command feature.\n  - `laravel.sailArtisan.run` command feature.\n\n## [RECOMMENDED] Additional installation of \"watchman\"\n\n`coc-laravel` uses the `workspace/didChangeWatchedFiles` notification to monitor files in the project.\n\nIn coc.nvim, it is recommended to install [watchman](https://facebook.github.io/watchman/) in order to utilize this feature.\n\n- See: <https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions>\n\nIf you have difficulty installing `watchman`, you can use `coc-laravel` without `watchman`, but you may not be able to immediately use IntelliSense with the newly added files.\n\nIn this case, please manually enter the following command.\n\n- `:CocCommand laravel.project.restart`\n\nor\n\n- `:CocRestart`\n\n## workspaceFolders\n\nDepending on the project like mono repo or how Vim/Neovim is started, `workspaceFolders` may not be recognized correctly.\n\nTo make coc.nvim recognize `workspaceFolders` correctly, you can set `b:coc_root_patterns` in .vimrc/init.vim\n\n**Example**:\n\n```vim\n  au FileType php,blade let b:coc_root_patterns = ['.git', '.env', 'composer.json', 'artisan']\n```\n\nFor more information, check this coc.nvim's wiki.\n\n- <https://github.com/neoclide/coc.nvim/wiki/Using-workspaceFolders>\n\n## Configuration options\n\n- `laravel.enable`: Enable coc-laravel extension, default: `true`\n- `laravel.environment.phpPath`: Path to PHP, you can use a custom version of PHP. If there is no setting, `php` of the execution environment will be used, default: `\"\"`\n- `laravel.project.excludeVendors`: List of target vendor directories to exclude during project analysis, e.g. `[\"fakerphp\", \"phpunit\"]`, default: `[]`\n- `laravel.project.startupMessageEnable`: Enable project startup messages, default: `true`\n- `laravel.stubs.customVersion`: Specify the version of stubs to download with the `laravel.stubs.download` command. If not set, the `stubsVersion` defined in `package.json` will be used, default: `\"\"`\n- `laravel.stubs.useStubs`: List of stubs to be used, default: `[\"Core\", \"date\", \"standard\"]`\n- `laravel.completion.enable`: Enable all completion feature, default: `true`\n- `laravel.completion.directiveEnable`: Enable directive completion, default: `true`\n- `laravel.completion.directiveList`: List of directive used in directive completion, default: Omitted due to the large number of settings, See configuration in [package.json](/package.json)\n- `laravel.completion.configEnable`: Enable config completion, default: `true`\n- `laravel.completion.envEnable`: Enable env completion, default: true\n- `laravel.completion.validationEnable`: Enable validation completion.\n- `laravel.completion.routeEnable`: Enable route completion, default: `true`\n- `laravel.completion.viewEnable`: Enable view completion, default: `true`\n- `laravel.completion.middlewareEnable`: Enable middleware completion, default: `true`\n- `laravel.completion.guardEnable`: Enable guard completion, default: `true`\n- `laravel.completion.translationEnable`: Enable translation completion, default: `true`\n- `laravel.completion.componentEnable`: Enable component completion, default: `true`\n- `laravel.completion.phpFunctionEnable`: Enable php function completion, default: `true`\n- `laravel.completion.phpFunction.stubsEnable`: Enable stubs in phpFunction completion, default: `true`\n- `laravel.completion.phpFunction.vendorEnable`: Enable vendor in phpFunction completion, default: `true`\n- `laravel.completion.phpClassEnable`: Enable php class completion, default: `true`\n- `laravel.completion.phpClass.stubsEnable`: Enable stubs in phpClass completion, default: `true`\n- `laravel.completion.phpClass.vendorEnable`: Enable vendor in phpClass completion, default: `true`\n- `laravel.completion.phpConstantEnable`: Enable php constant completion, default: `true`\n- `laravel.completion.phpConstant.stubsEnable`: Enable stubs in phpConstant completion, default: `true`\n- `laravel.completion.phpConstant.vendorEnable`: Enable vendor in phpConstant completion, default: `true`\n- `laravel.completion.phpStaticClassEnable`: Enable php static class completion, default: `true`\n- `laravel.completion.phpObjectMemberEnable`: Enable php object member completion, default: `true`\n- `laravel.completion.phpVariableEnable`: Enable php variable completion, default: `true`\n- `laravel.completion.phpKeywordEnable`: Enable php keyword completion, default: `true`\n- `laravel.completion.eloquentModelFieldEnable`: Enable eloquent model field completion, default: `true`\n- `laravel.completion.controllerActionEnable`: Enable controller action method completion in route definitions, default: `true`\n- `laravel.completion.policyMethodEnable`: Enable policy method completion, default: `true`\n- `laravel.completion.viewReferenceVariableEnable`: Enable view reference variable completion, default: `true`\n- `laravel.completion.methodParameterEnable`: Enable method parameter completion, default: `true`\n- `laravel.completion.livewireEnable`: Enable livewire completion, default: `true`\n- `laravel.livewire.wireClickAttributes`: List of click related action to be added to `wire:xxxx`, default: `[\"click\", \"click.prefetch\"]`\n- `laravel.livewire.wireModelAttributes`: List of model related action to be added to `wire:xxxx`, default: `[\"model\", \"model.debounce.100ms\", \"model.lazy\", \"model.defer\"]`\n- `laravel.livewire.wireEventAttributes`: List of browser events to be added to `wire:xxxx`. No need for `wire:model` or `wire:click`. default: Omitted due to the large number of settings, See configuration in [package.json](/package.json)\n- `laravel.definition.enable`: Enable definition, default `true`\n- `laravel.definition.configEnable`: Enable go-to-definition for config() calls, default: `true`\n- `laravel.definition.translationEnable`: Enable go-to-definition for __(), trans(), and @lang() calls, default: `true`\n- `laravel.definition.routeEnable`: Enable go-to-definition for route() calls, default: `true`\n- `laravel.definition.eventEnable`: Enable go-to-definition for event dispatch to event class and listeners, default: `true`\n- `laravel.reference.enable`: Enable reference, default `true`\n- `laravel.hover.enable`: Enable hover, default `true`\n- `laravel.diagnostic.enable`: Enable diagnostic, default: `true`\n- `laravel.codeAction.enable`: Enable code action, default: `true`\n- `laravel.artisan.withoutArgumentsCommandList`: List of commands to quickly execute `laravel.artisan.run` or `laravel.sailArtisan.run` without prompting for arguments or options, e.g. `[\"route:list\", \"clear-compiled\"]`, default: `[]`\n- `laravel.artisan.enableSplitRight`: Use vertical belowright for artisan terminal window, default: `false`\n\n## Commands\n\n- `laravel.project.restart`: Run project restart\n- `laravel.project.stats`: (Develop) Show project stats\n- `laravel.project.finder`: (Develop) Run project finder\n- `laravel.stubs.download`: Download stubs\n- `laravel.stubs.version`: Show the version of stubs\n- `laravel.artisan.run`: Run artisan command\n- `laravel.sailArtisan.run`: Run sail artisan command\n- `laravel.view.findAllReferences`: Find view file references\n- `laravel.showOutput`: Show laravel output channel\n\n## CodeActions\n\n**Example key mapping (Code Action related)**:\n\n```vim\nnmap <silent> ga <Plug>(coc-codeaction-line)\nnmap <silent> <leader>ac <Plug>(coc-codeaction-cursor)\n```\n\n**Actions**:\n\n- `Create blade component`\n- `Fix method directive parameter`\n\n## Recommended coc-extensions for php\n\n- [@yaegassy/coc-intelephense](https://github.com/yaegassy/coc-intelephense)\n- [coc-blade](https://github.com/yaegassy/coc-blade)\n- [@yaegassy/coc-phpstan](https://github.com/yaegassy/coc-phpstan)\n- [coc-php-cs-fixer](https://github.com/yaegassy/coc-php-cs-fixer)\n- [coc-psalm](https://github.com/yaegassy/coc-psalm)\n\n## Based on\n\nThis project is based on [@yaegassy/coc-laravel](https://github.com/yaegassy/coc-laravel) by [yaegassy](https://github.com/yaegassy). Thank you for the excellent foundation.\n\n## Inspired Projects\n\n- [amir9480/vscode-laravel-extra-intellisense](https://github.com/amir9480/vscode-laravel-extra-intellisense) | (VSCode extension)\n- [Laravel Idea](https://laravel-idea.com/) | (PhpStorm plugin)\n- [haringsrob/laravel-dev-tools](https://github.com/haringsrob/laravel-dev-tools)\n- and More...\n\n## Thanks\n\n- [glayzzle/php-parser](https://github.com/glayzzle/php-parser)\n- [Stillat/blade-parser-typescript](https://github.com/Stillat/blade-parser-typescript)\n- [JetBrains/phpstorm-stubs](https://github.com/JetBrains/phpstorm-stubs)\n- [microsoft/vscode-html-languageservice](https://github.com/microsoft/vscode-html-languageservice)\n\n## License\n\nMIT\n\n---\n\n> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)\n","readmeFilename":"README.md"}