[{"data":1,"prerenderedAt":536},["ShallowReactive",2],{"page-\u002Fv1\u002Fadopt":3},{"id":4,"title":5,"body":6,"description":528,"extension":529,"meta":530,"navigation":531,"path":532,"seo":533,"stem":534,"__hash__":535},"content\u002Fv1\u002Fadopt\u002Findex.md","Adopt in another project",{"type":7,"value":8,"toc":521},"minimark",[9,13,22,29,32,117,138,143,153,269,310,314,420,424,484,488,506],[10,11,5],"h1",{"id":12},"adopt-in-another-project",[14,15,16,17,21],"p",{},"This documentation site is the ",[18,19,20],"strong",{},"sole architecture canon"," for Modular Hexagonal Domain-Driven Design.",[14,23,24,25,28],{},"The standard is ",[18,26,27],{},"tool-neutral and AI-neutral",": it does not require Cursor, any other AI assistant, or AI at all. Engineers adopt Core + the matching host adapter; assistants are optional helpers.",[14,30,31],{},"Other products — greenfield, brownfield, demos, or production hosts — should:",[33,34,35,42,54,64],"ol",{},[36,37,38,41],"li",{},[18,39,40],{},"Read Core here"," for framework-agnostic rules.",[36,43,44,47,48,53],{},[18,45,46],{},"Read the matching adapter"," (",[49,50,52],"a",{"href":51},"\u002Fv1\u002Fadapters","Adapters overview",") for host wiring.",[36,55,56,47,59,63],{},[18,57,58],{},"Keep product backlog local",[60,61,62],"code",{},"ROADMAP.md"," in that repo) — never mix feature IDs into architecture docs.",[36,65,66,69,70,75,76,75,81,75,86,75,91,75,96,75,101,75,106,111,112,116],{},[18,67,68],{},"To have an AI agent apply the standard",", point it at the matching host apply URL (",[49,71,73],{"href":72},"\u002Flaravel",[60,74,72],{},", ",[49,77,79],{"href":78},"\u002Fsymfony",[60,80,78],{},[49,82,84],{"href":83},"\u002Fyii",[60,85,83],{},[49,87,89],{"href":88},"\u002Fcodeigniter",[60,90,88],{},[49,92,94],{"href":93},"\u002Fcakephp",[60,95,93],{},[49,97,99],{"href":98},"\u002Fspiral",[60,100,98],{},[49,102,104],{"href":103},"\u002Fslim",[60,105,103],{},[49,107,109],{"href":108},"\u002Fmezzio",[60,110,108],{},") — see ",[49,113,115],{"href":114},"\u002Fv1\u002Fadopt\u002Fapply","Apply playbooks",". Assistant files are optional and covered per vendor inside each playbook.",[14,118,119,120,75,123,75,126,129,130,133,134,137],{},"Illustrative bounded-context names on this site are only ",[60,121,122],{},"Ordering",[60,124,125],{},"Warehouse",[60,127,128],{},"Directory",", and ",[60,131,132],{},"Identity",". Rename them to your domains. Do ",[18,135,136],{},"not"," treat any other repository’s product module tree as the architecture standard.",[139,140,142],"h2",{"id":141},"one-shot-apply-for-ai-agents","One-shot apply (for AI agents)",[144,145,151],"pre",{"className":146,"code":148,"language":149,"meta":150},[147],"language-text","Apply Modular Hexagonal DDD from \u003CORIGIN>\u002Fapply\u002F\u003Cframework>.full.md\nAI assistant: \u003Ccursor|claude|gemini|copilot|generic|none>\nDo not commit unless I ask.\n","text","",[60,152,148],{"__ignoreMap":150},[154,155,156,169],"table",{},[157,158,159],"thead",{},[160,161,162,166],"tr",{},[163,164,165],"th",{},"Framework",[163,167,168],{},"File",[170,171,172,185,197,209,221,233,245,257],"tbody",{},[160,173,174,178],{},[175,176,177],"td",{},"Laravel 13",[175,179,180],{},[49,181,183],{"href":182},"\u002Fapply\u002Flaravel.full.md",[60,184,182],{},[160,186,187,190],{},[175,188,189],{},"Symfony 8.1",[175,191,192],{},[49,193,195],{"href":194},"\u002Fapply\u002Fsymfony.full.md",[60,196,194],{},[160,198,199,202],{},[175,200,201],{},"Yii3",[175,203,204],{},[49,205,207],{"href":206},"\u002Fapply\u002Fyii.full.md",[60,208,206],{},[160,210,211,214],{},[175,212,213],{},"CodeIgniter 4.7",[175,215,216],{},[49,217,219],{"href":218},"\u002Fapply\u002Fcodeigniter.full.md",[60,220,218],{},[160,222,223,226],{},[175,224,225],{},"CakePHP 5.4",[175,227,228],{},[49,229,231],{"href":230},"\u002Fapply\u002Fcakephp.full.md",[60,232,230],{},[160,234,235,238],{},[175,236,237],{},"Spiral 3.17",[175,239,240],{},[49,241,243],{"href":242},"\u002Fapply\u002Fspiral.full.md",[60,244,242],{},[160,246,247,250],{},[175,248,249],{},"Slim 4.15",[175,251,252],{},[49,253,255],{"href":254},"\u002Fapply\u002Fslim.full.md",[60,256,254],{},[160,258,259,262],{},[175,260,261],{},"Mezzio 3.28",[175,263,264],{},[49,265,267],{"href":266},"\u002Fapply\u002Fmezzio.full.md",[60,268,266],{},[14,270,271,272,276,277,276,281,276,285,276,289,276,293,276,297,276,301,276,305],{},"Short URLs: ",[49,273,274],{"href":72},[60,275,72],{}," · ",[49,278,279],{"href":78},[60,280,78],{},[49,282,283],{"href":83},[60,284,83],{},[49,286,287],{"href":88},[60,288,88],{},[49,290,291],{"href":93},[60,292,93],{},[49,294,295],{"href":98},[60,296,98],{},[49,298,299],{"href":103},[60,300,103],{},[49,302,303],{"href":108},[60,304,108],{},[49,306,308],{"href":307},"\u002Fllms.txt",[60,309,307],{},[139,311,313],{"id":312},"paths-depending-on-your-situation","Paths depending on your situation",[154,315,316,326],{},[157,317,318],{},[160,319,320,323],{},[163,321,322],{},"Situation",[163,324,325],{},"Start here",[170,327,328,341,352,363,374,383,398,409],{},[160,329,330,335],{},[175,331,332],{},[18,333,334],{},"AI agent should bootstrap this app",[175,336,337,340],{},[49,338,339],{"href":114},"Apply index"," · pick host one-shot",[160,342,343,346],{},[175,344,345],{},"New empty host project (humans)",[175,347,348],{},[49,349,351],{"href":350},"\u002Fv1\u002Fadopt\u002Fbootstrap","Greenfield bootstrap",[160,353,354,357],{},[175,355,356],{},"Want the MUST checklist",[175,358,359],{},[49,360,362],{"href":361},"\u002Fv1\u002Fcore\u002Frequirements","Portable requirements",[160,364,365,368],{},[175,366,367],{},"Want folder intuition",[175,369,370],{},[49,371,373],{"href":372},"\u002Fv1\u002Fcore\u002Fwhere-does-this-go","Where does this code go?",[160,375,376,379],{},[175,377,378],{},"Host mapping details",[175,380,381],{},[49,382,52],{"href":51},[160,384,385,388],{},[175,386,387],{},"End-to-end mental model",[175,389,390,276,394],{},[49,391,393],{"href":392},"\u002Fv1\u002Fcookbook\u002Fordering-warehouse","Ordering ↔ Warehouse cookbook",[49,395,397],{"href":396},"\u002Fv1\u002Fcookbook\u002Fidentity-directory","Identity ↔ Directory",[160,399,400,403],{},[175,401,402],{},"No framework yet",[175,404,405],{},[49,406,408],{"href":407},"\u002Fv1\u002Fcore\u002Fpure-php-psr-skeleton","Pure PHP + PSR skeleton",[160,410,411,414],{},[175,412,413],{},"AI layout examples (optional)",[175,415,416],{},[49,417,419],{"href":418},"\u002Fv1\u002Fadopt\u002Fwith-ai-assistants","Using AI assistants",[139,421,423],{"id":422},"what-stays-in-the-consuming-repo","What stays in the consuming repo",[154,425,426,436],{},[157,427,428],{},[160,429,430,433],{},[163,431,432],{},"Artifact",[163,434,435],{},"Role",[170,437,438,448,460,468],{},[160,439,440,445],{},[175,441,442,443],{},"Project ",[60,444,62],{},[175,446,447],{},"Delivery backlog with stable IDs",[160,449,450,457],{},[175,451,452,453,456],{},"Host ",[60,454,455],{},"composer.json"," \u002F app bootstrap",[175,458,459],{},"Framework wiring",[160,461,462,465],{},[175,463,464],{},"Module code under that product’s domains",[175,466,467],{},"Business implementation",[160,469,470,477],{},[175,471,472,473,476],{},"Optional local ",[60,474,475],{},"README"," pointer",[175,478,479,480,483],{},"Link to ",[18,481,482],{},"this site"," + Core \u002F adapter version",[139,485,487],{"id":486},"what-must-not-become-the-standard","What must not become “the standard”",[489,490,491,494,497,500,503],"ul",{},[36,492,493],{},"Product module catalogs from any application repo",[36,495,496],{},"Feature \u002F GAP backlog rows",[36,498,499],{},"Shop-specific seeders and journeys",[36,501,502],{},"A second long architecture README that contradicts this site",[36,504,505],{},"A requirement to use a particular AI product",[14,507,508,509,512,513,516,517,520],{},"Architecture ",[18,510,511],{},"rules"," and greenfield ",[18,514,515],{},"patterns"," belong here; product ",[18,518,519],{},"features"," belong in each application.",{"title":150,"searchDepth":522,"depth":522,"links":523},2,[524,525,526,527],{"id":141,"depth":522,"text":142},{"id":312,"depth":522,"text":313},{"id":422,"depth":522,"text":423},{"id":486,"depth":522,"text":487},"How other repositories should use this site as the sole Modular Hexagonal DDD architecture reference.","md",{},true,"\u002Fv1\u002Fadopt",{"title":5,"description":528},"v1\u002Fadopt\u002Findex","Q2OLuf958askiAu1J87uaTU43fpp5pcFI7e2ppjFU6M",1786241411305]