[{"data":1,"prerenderedAt":717},["ShallowReactive",2],{"navigation":3,"\u002Fdigging-deeper\u002Fuse-with-ai":173,"\u002Fdigging-deeper\u002Fuse-with-ai-surround":713},[4,27,69,103,113,135],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting Started","i-heroicons-star","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"Upgrade guide","\u002Fgetting-started\u002Fupgrade-guide","1.getting-started\u002F5.upgrade-guide",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Essentials","i-heroicons-shield-check","\u002Fessentials","2.essentials",[33,37,41,45,49,53,57,61,65],{"title":34,"path":35,"stem":36},"Controls","\u002Fessentials\u002Fcontrols","2.essentials\u002F1.controls",{"title":38,"path":39,"stem":40},"Perimeters","\u002Fessentials\u002Fperimeters","2.essentials\u002F2.perimeters",{"title":42,"path":43,"stem":44},"Perimeter classes","\u002Fessentials\u002Fperimeter-classes","2.essentials\u002F3.perimeter-classes",{"title":46,"path":47,"stem":48},"Levels","\u002Fessentials\u002Flevels","2.essentials\u002F4.levels",{"title":50,"path":51,"stem":52},"Boundaries","\u002Fessentials\u002Fboundaries","2.essentials\u002F5.boundaries",{"title":54,"path":55,"stem":56},"Parents","\u002Fessentials\u002Fparents","2.essentials\u002F6.parents",{"title":58,"path":59,"stem":60},"Policies","\u002Fessentials\u002Fpolicies","2.essentials\u002F7.policies",{"title":62,"path":63,"stem":64},"Queries","\u002Fessentials\u002Fqueries","2.essentials\u002F8.queries",{"title":66,"path":67,"stem":68},"Readers","\u002Fessentials\u002Freaders","2.essentials\u002F9.readers",{"title":70,"icon":71,"path":72,"stem":73,"children":74,"page":26},"Search","i-heroicons-magnifying-glass","\u002Fsearch","3.search",[75,79,83,87,91,95,99],{"title":76,"path":77,"stem":78},"Search overview","\u002Fsearch\u002Foverview","3.search\u002F1.overview",{"title":80,"path":81,"stem":82},"Engines","\u002Fsearch\u002Fengines","3.search\u002F2.engines",{"title":84,"path":85,"stem":86},"Keeping the keys fresh","\u002Fsearch\u002Fkeeping-the-keys-fresh","3.search\u002F3.keeping-the-keys-fresh",{"title":88,"path":89,"stem":90},"Exceptions and dates","\u002Fsearch\u002Fexceptions-and-dates","3.search\u002F4.exceptions-and-dates",{"title":92,"path":93,"stem":94},"Searching through a parent","\u002Fsearch\u002Fthrough-a-parent","3.search\u002F5.through-a-parent",{"title":96,"path":97,"stem":98},"Search from the browser","\u002Fsearch\u002Ffrom-the-browser","3.search\u002F6.from-the-browser",{"title":100,"path":101,"stem":102},"Your own search client","\u002Fsearch\u002Fyour-own-client","3.search\u002F7.your-own-client",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":26},"Integrations","i-heroicons-puzzle-piece","\u002Fintegrations","4.integrations",[109],{"title":110,"path":111,"stem":112},"laravel-rest-api","\u002Fintegrations\u002Flaravel-rest-api","4.integrations\u002F1.laravel-rest-api",{"title":114,"icon":115,"path":116,"stem":117,"children":118,"page":26},"Testing and Tooling","i-heroicons-wrench-screwdriver","\u002Ftesting-and-tooling","5.testing-and-tooling",[119,123,127,131],{"title":120,"path":121,"stem":122},"Testing","\u002Ftesting-and-tooling\u002Ftesting","5.testing-and-tooling\u002F1.testing",{"title":124,"path":125,"stem":126},"access:check","\u002Ftesting-and-tooling\u002Faccess-check","5.testing-and-tooling\u002F2.access-check",{"title":128,"path":129,"stem":130},"Cache and about","\u002Ftesting-and-tooling\u002Fcache-and-about","5.testing-and-tooling\u002F3.cache-and-about",{"title":132,"path":133,"stem":134},"Generators","\u002Ftesting-and-tooling\u002Fgenerators","5.testing-and-tooling\u002F4.generators",{"title":136,"icon":137,"path":138,"stem":139,"children":140,"page":26},"Digging Deeper","i-heroicons-list-bullet","\u002Fdigging-deeper","6.digging-deeper",[141,145,149,153,157,161,165,169],{"title":142,"path":143,"stem":144},"Abilities","\u002Fdigging-deeper\u002Fabilities","6.digging-deeper\u002F1.abilities",{"title":146,"path":147,"stem":148},"Kept decisions","\u002Fdigging-deeper\u002Fdecisions","6.digging-deeper\u002F2.decisions",{"title":150,"path":151,"stem":152},"Batched decisions","\u002Fdigging-deeper\u002Fbatched-decisions","6.digging-deeper\u002F3.batched-decisions",{"title":154,"path":155,"stem":156},"Row checks","\u002Fdigging-deeper\u002Frow-checks","6.digging-deeper\u002F4.row-checks",{"title":158,"path":159,"stem":160},"Several brands","\u002Fdigging-deeper\u002Fseveral-brands","6.digging-deeper\u002F5.several-brands",{"title":162,"path":163,"stem":164},"Row context","\u002Fdigging-deeper\u002Frow-context","6.digging-deeper\u002F6.row-context",{"title":166,"path":167,"stem":168},"What is public in 1.x","\u002Fdigging-deeper\u002Fpublic-api","6.digging-deeper\u002F7.public-api",{"title":170,"path":171,"stem":172},"Use with AI","\u002Fdigging-deeper\u002Fuse-with-ai","6.digging-deeper\u002F8.use-with-ai",{"id":174,"title":170,"body":175,"description":701,"extension":702,"links":703,"meta":707,"navigation":708,"path":171,"seo":709,"sitemap":710,"stem":172,"updatedAt":711,"__hash__":712},"docs\u002F6.digging-deeper\u002F8.use-with-ai.md",{"type":176,"value":177,"toc":692},"minimark",[178,182,187,203,208,223,263,275,279,298,338,342,345,410,421,429,433,447,650,654,677,688],[179,180,181],"p",{},"Laravel Access Control 1.0 changed most of its API: controls linked by discovery, levels, boundaries, search keys. A coding assistant that learned from code written for an earlier version can write controls that no longer work. The sources on this page give it the current documentation.",[183,184,186],"h2",{"id":185},"laravel-boost-skill","Laravel Boost skill",[179,188,189,190,197,198,202],{},"The package ships a skill for ",[191,192,196],"a",{"href":193,"rel":194},"https:\u002F\u002Flaravel.com\u002Fdocs\u002Fboost",[195],"nofollow","Laravel Boost",": a ",[199,200,201],"code",{},"SKILL.md"," file that a coding agent loads when it works on your controls, perimeters, policies or controlled searches.",[204,205,207],"h3",{"id":206},"installing-the-skill","Installing the skill",[179,209,210,211,214,215,218,219,222],{},"The skill is named ",[199,212,213],{},"laravel-access-control",". It lives in the package at ",[199,216,217],{},"resources\u002Fboost\u002Fskills\u002Flaravel-access-control\u002FSKILL.md",", so Laravel Boost finds it in ",[199,220,221],{},"vendor\u002Flomkit\u002Flaravel-access-control"," once both packages are installed:",[224,225,230],"pre",{"className":226,"code":227,"language":228,"meta":229,"style":229},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","composer require laravel\u002Fboost --dev\nphp artisan boost:install\n","bash","",[199,231,232,251],{"__ignoreMap":229},[233,234,237,241,245,248],"span",{"class":235,"line":236},"line",1,[233,238,240],{"class":239},"sBMFI","composer",[233,242,244],{"class":243},"sfazB"," require",[233,246,247],{"class":243}," laravel\u002Fboost",[233,249,250],{"class":243}," --dev\n",[233,252,254,257,260],{"class":235,"line":253},2,[233,255,256],{"class":239},"php",[233,258,259],{"class":243}," artisan",[233,261,262],{"class":243}," boost:install\n",[179,264,265,266,269,270,274],{},"Select the skill during the installation. After an update of the package, run ",[199,267,268],{},"php artisan boost:update"," so that the agent reads the skill of the installed version. See the ",[191,271,273],{"href":193,"rel":272},[195],"Laravel Boost documentation"," for its commands and for replacing a package skill with your own.",[204,276,278],{"id":277},"what-the-skill-covers","What the skill covers",[179,280,281,282,285,286,289,290,293,294,297],{},"The skill applies when a task touches a policy that should be centralized, row-level filtering of Eloquent queries, a child model with the access of its parent, the ",[199,283,284],{},"make:control",", ",[199,287,288],{},"make:perimeter"," and ",[199,291,292],{},"access:*"," commands, or the classes of the ",[199,295,296],{},"Lomkit\\Access\\"," namespace. It describes:",[299,300,301,313,320,323,326,329,335],"ul",{},[302,303,304,305,308,309,312],"li",{},"controls, their discovery and ",[199,306,307],{},"#[ControlledBy]",", and the ",[199,310,311],{},"Access"," facade;",[302,314,315,316,319],{},"perimeters, their callbacks and hooks, levels, boundaries and ",[199,317,318],{},"ThroughParent",";",[302,321,322],{},"the policies, their refusal codes, drafts and business abilities;",[302,324,325],{},"the controlled queries and the batched decisions;",[302,327,328],{},"the Laravel Scout search: search keys, engines, freshness, browser tokens and an index of your own;",[302,330,331,332,334],{},"the laravel-rest-api extension, ",[199,333,124],{}," and the test assertions;",[302,336,337],{},"the pitfalls to flag when reviewing or writing code.",[183,339,341],{"id":340},"llmstxt-and-markdown-pages","llms.txt and Markdown pages",[179,343,344],{},"The site publishes its pages in formats that assistants read directly:",[346,347,348,361],"table",{},[349,350,351],"thead",{},[352,353,354,358],"tr",{},[355,356,357],"th",{},"URL",[355,359,360],{},"Content",[362,363,364,379,393],"tbody",{},[352,365,366,376],{},[367,368,369],"td",{},[191,370,373],{"href":371,"rel":372},"https:\u002F\u002Flaravel-access-control.lomkit.com\u002Fllms.txt",[195],[199,374,375],{},"\u002Fllms.txt",[367,377,378],{},"The list of every page, with a description and a link to its Markdown copy",[352,380,381,390],{},[367,382,383],{},[191,384,387],{"href":385,"rel":386},"https:\u002F\u002Flaravel-access-control.lomkit.com\u002Fllms-full.txt",[195],[199,388,389],{},"\u002Fllms-full.txt",[367,391,392],{},"Every page in one Markdown file",[352,394,395,400],{},[367,396,397],{},[199,398,399],{},"\u002Fraw\u002F\u003Cpage>.md",[367,401,402,403],{},"The Markdown copy of one page, such as ",[191,404,407],{"href":405,"rel":406},"https:\u002F\u002Flaravel-access-control.lomkit.com\u002Fraw\u002Fessentials\u002Fperimeters.md",[195],[199,408,409],{},"\u002Fraw\u002Fessentials\u002Fperimeters.md",[179,411,412,413,416,417,420],{},"Both files cover 1.x only. Give an assistant ",[199,414,415],{},"llms.txt"," and let it open the pages it needs, or give it ",[199,418,419],{},"llms-full.txt"," when it can read a long file.",[179,422,423,424,428],{},"The ",[425,426,427],"strong",{},"Copy page"," button at the top of each page copies its Markdown. Its menu copies the link to the Markdown copy, opens it, or opens ChatGPT or Claude with a prompt that points to it.",[183,430,432],{"id":431},"gitmcp","GitMCP",[179,434,435,439,440,443,444,446],{},[191,436,432],{"href":437,"rel":438},"https:\u002F\u002Fgitmcp.io",[195]," serves a GitHub project as a remote MCP server. Its address for this site, ",[199,441,442],{},"https:\u002F\u002Flomkit.gitmcp.io\u002Flaravel-access-control-doc",", reads the ",[199,445,415],{}," of the site, and its tools let the assistant search the docs and fetch the Markdown copy of any page. Add the server to your assistant:",[448,449,450,479,565],"code-group",{},[224,451,454],{"className":226,"code":452,"filename":453,"language":228,"meta":229,"style":229},"claude mcp add --transport http laravel-access-control https:\u002F\u002Flomkit.gitmcp.io\u002Flaravel-access-control-doc\n","Claude Code",[199,455,456],{"__ignoreMap":229},[233,457,458,461,464,467,470,473,476],{"class":235,"line":236},[233,459,460],{"class":239},"claude",[233,462,463],{"class":243}," mcp",[233,465,466],{"class":243}," add",[233,468,469],{"class":243}," --transport",[233,471,472],{"class":243}," http",[233,474,475],{"class":243}," laravel-access-control",[233,477,478],{"class":243}," https:\u002F\u002Flomkit.gitmcp.io\u002Flaravel-access-control-doc\n",[224,480,485],{"className":481,"code":482,"filename":483,"language":484,"meta":229,"style":229},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"laravel-access-control\": {\n      \"url\": \"https:\u002F\u002Flomkit.gitmcp.io\u002Flaravel-access-control-doc\"\n    }\n  }\n}\n","Cursor: .cursor\u002Fmcp.json","json",[199,486,487,493,511,525,547,553,559],{"__ignoreMap":229},[233,488,489],{"class":235,"line":236},[233,490,492],{"class":491},"sMK4o","{\n",[233,494,495,498,502,505,508],{"class":235,"line":253},[233,496,497],{"class":491},"  \"",[233,499,501],{"class":500},"spNyl","mcpServers",[233,503,504],{"class":491},"\"",[233,506,507],{"class":491},":",[233,509,510],{"class":491}," {\n",[233,512,514,517,519,521,523],{"class":235,"line":513},3,[233,515,516],{"class":491},"    \"",[233,518,213],{"class":239},[233,520,504],{"class":491},[233,522,507],{"class":491},[233,524,510],{"class":491},[233,526,528,531,535,537,539,542,544],{"class":235,"line":527},4,[233,529,530],{"class":491},"      \"",[233,532,534],{"class":533},"sbssI","url",[233,536,504],{"class":491},[233,538,507],{"class":491},[233,540,541],{"class":491}," \"",[233,543,442],{"class":243},[233,545,546],{"class":491},"\"\n",[233,548,550],{"class":235,"line":549},5,[233,551,552],{"class":491},"    }\n",[233,554,556],{"class":235,"line":555},6,[233,557,558],{"class":491},"  }\n",[233,560,562],{"class":235,"line":561},7,[233,563,564],{"class":491},"}\n",[224,566,569],{"className":481,"code":567,"filename":568,"language":484,"meta":229,"style":229},"{\n  \"servers\": {\n    \"laravel-access-control\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Flomkit.gitmcp.io\u002Flaravel-access-control-doc\"\n    }\n  }\n}\n","VS Code: .vscode\u002Fmcp.json",[199,570,571,575,588,600,621,637,641,645],{"__ignoreMap":229},[233,572,573],{"class":235,"line":236},[233,574,492],{"class":491},[233,576,577,579,582,584,586],{"class":235,"line":253},[233,578,497],{"class":491},[233,580,581],{"class":500},"servers",[233,583,504],{"class":491},[233,585,507],{"class":491},[233,587,510],{"class":491},[233,589,590,592,594,596,598],{"class":235,"line":513},[233,591,516],{"class":491},[233,593,213],{"class":239},[233,595,504],{"class":491},[233,597,507],{"class":491},[233,599,510],{"class":491},[233,601,602,604,607,609,611,613,616,618],{"class":235,"line":527},[233,603,530],{"class":491},[233,605,606],{"class":533},"type",[233,608,504],{"class":491},[233,610,507],{"class":491},[233,612,541],{"class":491},[233,614,615],{"class":243},"http",[233,617,504],{"class":491},[233,619,620],{"class":491},",\n",[233,622,623,625,627,629,631,633,635],{"class":235,"line":549},[233,624,530],{"class":491},[233,626,534],{"class":533},[233,628,504],{"class":491},[233,630,507],{"class":491},[233,632,541],{"class":491},[233,634,442],{"class":243},[233,636,546],{"class":491},[233,638,639],{"class":235,"line":555},[233,640,552],{"class":491},[233,642,643],{"class":235,"line":561},[233,644,558],{"class":491},[233,646,648],{"class":235,"line":647},8,[233,649,564],{"class":491},[183,651,653],{"id":652},"context7","Context7",[179,655,656,660,661,664,665,672,673,676],{},[191,657,653],{"href":658,"rel":659},"https:\u002F\u002Fcontext7.com",[195]," indexes the documentation of libraries and serves it to coding assistants through its MCP server and its ",[199,662,663],{},"ctx7"," command. Laravel Access Control is listed as ",[191,666,669],{"href":667,"rel":668},"https:\u002F\u002Fcontext7.com\u002Flomkit\u002Flaravel-access-control-doc",[195],[199,670,671],{},"\u002Flomkit\u002Flaravel-access-control-doc",", which indexes the 1.x pages of this site. Set it up with ",[199,674,675],{},"npx ctx7 setup",", then name the library in your prompt:",[224,678,682],{"className":679,"code":680,"language":681,"meta":229,"style":229},"language-txt shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Show only their own posts to authors, and every post of their client to managers. use library \u002Flomkit\u002Flaravel-access-control-doc\n","txt",[199,683,684],{"__ignoreMap":229},[233,685,686],{"class":235,"line":236},[233,687,680],{},[689,690,691],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":229,"searchDepth":236,"depth":253,"links":693},[694,698,699,700],{"id":185,"depth":253,"text":186,"children":695},[696,697],{"id":206,"depth":513,"text":207},{"id":277,"depth":513,"text":278},{"id":340,"depth":253,"text":341},{"id":431,"depth":253,"text":432},{"id":652,"depth":253,"text":653},"Give coding assistants the current Laravel Access Control docs: the Laravel Boost skill, llms.txt, Markdown copies of every page, GitMCP and Context7.","md",[704],{"label":196,"icon":705,"to":193,"target":706},"i-simple-icons-laravel","_blank",{},true,{"title":170,"description":701},{"loc":171,"lastmod":711},"2026-11-21T16:10:34+01:00","RmzGGeVwYYjTLPV6rI52DRBlVG6-lJGYQFPOn_MYVMo",[714,716],{"title":166,"path":167,"stem":168,"description":715,"children":-1},"The releases of 1.x follow semantic versioning for what this documentation describes. Learn what that covers, and what may change in any release.",null,1795277180927]