Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.
Lunar 2.0 is now in beta. Since the first alpha, the core has gained the remaining checkout features planned for 2.0, the admin panel has matured, and the database schema has settled. From here, the focus moves from new features to stability and feedback ahead of 2.0.0.
This is a beta. The API is close to final, but breaking changes are still possible before 2.0.0. Test thoroughly against a copy of a store before using it in production, and always work from a database backup.
What’s new
Checkout and orders
Fulfilment choice and pickup locations: customers choose shipping or pickup for each cart line, and pickup lines are collected from a location that accepts pickup. See Fulfilment choice.
Payment terms: a payment type can place an order on terms, such as on account, instead of taking payment at checkout. See Payment terms.
Customer notifications: Lunar sends default emails across the order lifecycle, with templates and copy that a store can customize or replace. See Notifications.
Persisted cart totals: a calculated cart stores its totals, so later reads serve them without running the calculation again until the cart changes. See Persisted totals.
Remembered guest carts: a long-lived cookie restores a guest’s cart after their session expires. See Remembering guest carts.
Calculation steps in code: the steps that price carts, create orders and validate carts are registered from a service provider through the Steps facade instead of config. See Registering calculation steps.
Per-customer limits for guests: per-customer usage limits now apply to guest checkout as well, matching customers by email. Usage is counted when the order is placed. See Per-customer limits.
Reward lines follow the reward: lines that a Buy X Get Y discount adds to a cart are adjusted or removed when the cart no longer earns them.
Inventory
Selling flags: continue_selling and sell_against_incoming on each variant replace the selling policy and its backorder allowance. See Sellability.
Incoming stock: the stock a location expects to receive can be set by hand, and the panel edits it inline. See Setting incoming stock.
Search
Search requests and results now run through configurable pipelines, so a store can add its own stages and pass engine-specific parameters. Product codes match whether or not a customer types their hyphens. See Pipelines and Product code search.
Admin panel
Products edit through drafts: product edits autosave as a draft with field-level conflict detection, like the other first-party edit pages. See Edit Drafts.
Form slices: add-ons can add their own fields to first-party create, edit and settings forms. See Form Slices.
Table-rate shipping: shipping zones, methods and exclusion lists are managed in the Inertia panel under Settings > Shipping. See Table Rate Shipping.
Attribute descriptions: attributes can carry helper text that staff see under the field on every edit page. See Descriptions.
A stable schema
During the alphas, schema changes were folded into the 2.0 baseline migrations. From 2.0.0-beta.1, the baseline migrations no longer change: every schema change ships as a new migration that php artisan migrate runs.An application installed on an alpha needs one catch-up migration to reach the beta schema. The alpha upgrade guide lists every change by release.
Installing
Until 2.0.0 is released, require each lunarphp/* package with the ^2.0@beta constraint:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lunar PHP","colors":{"primary":"#4bc7f8","light":"#4bc7f8","dark":"#4bc7f8"},"logo":{"light":"https://mintcdn.com/lunar-b8371d04/ZhguENt7LP0pq4Z_/logo/lunar-logo.svg?fit=max\u0026auto=format\u0026n=ZhguENt7LP0pq4Z_\u0026q=85\u0026s=c996daa3fdcce9daab23698d2d23a13a","dark":"https://mintcdn.com/lunar-b8371d04/ZhguENt7LP0pq4Z_/logo/lunar-logo-dark.svg?fit=max\u0026auto=format\u0026n=ZhguENt7LP0pq4Z_\u0026q=85\u0026s=3aadec4ff031bb880a6d89aa430993e4"},"favicon":"https://mintcdn.com/lunar-b8371d04/ZhguENt7LP0pq4Z_/favicon.svg?fit=max\u0026auto=format\u0026n=ZhguENt7LP0pq4Z_\u0026q=85\u0026s=62ef311645899e2e1404b36fcb216788","appearance":{"default":"dark"},"background":{"decoration":"grid"},"navbar":{"primary":{"type":"github","href":"https://github.com/lunarphp/lunar"}},"footer":{"socials":{"website":"https://lunarphp.com","x":"https://x.com/lunarphp","github":"https://github.com/lunarphp","discord":"https://lunarphp.com/discord","linkedin":"https://linkedin.com/company/lunarphp"}},"fonts":{"heading":{"family":"Poppins"}},"integrations":{"fathom":{"siteId":"KMZGQTYE"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lunar-b8371d04","hasAudioNarration":false,"actualSubdomain":"lunar-b8371d04","customDomains":["docs.lunarphp.com"],"gitSource":{"type":"github","owner":"lunarphp","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"edits":false,"issues":false},"entitlements":{},"buildId":"6b0ec1c3022bcac905ee3755","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Reference","count":94},{"language":"default","tag":"Core","count":78},{"language":"default","tag":"Extending","count":49},{"language":"default","tag":"Admin Panel","count":31},{"language":"default","tag":"Getting Started","count":30},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Order Management","count":18},{"language":"default","tag":"Overview","count":17},{"language":"default","tag":"Storefront","count":17},{"language":"default","tag":"Catalog","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".btn{background-color:hsl(197, 93%, 63%);color:white;padding:5px 20px;border-radius:7px}.btn:hover{background-color:hsl(197, 93%, 53%)}"}]}
{"page":{"pagePath":"logs/2026/v2-0-0-beta","slug":"/logs/2026/v2-0-0-beta","pageMetadata":{"title":"Lunar 2.0 beta","sidebarTitle":"2.0 beta","date":"2026-12-01","description":"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.","href":"/logs/2026/v2-0-0-beta"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Lunar 2.0 is now in beta. Since the `,_jsx(_components.a,{href:`/logs/2026/v2-0-0-alpha`,children:`first alpha`}),`, the core has gained the remaining checkout features planned for 2.0, the admin panel has matured, and the database schema has settled. From here, the focus moves from new features to stability and feedback ahead of 2.0.0.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a beta. The API is close to final, but breaking changes are still possible before 2.0.0. Test thoroughly against a copy of a store before using it in production, and always work from a database backup.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what’s-new`,children:`What’s new`}),`\n`,_jsx(Heading,{level:`3`,id:`checkout-and-orders`,children:`Checkout and orders`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fulfilment choice and pickup locations`}),`: customers choose shipping or pickup for each cart line, and pickup lines are collected from a location that accepts pickup. See `,_jsx(_components.a,{href:`/2.x/reference/carts#fulfilment-choice`,children:`Fulfilment choice`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Payment terms`}),`: a payment type can place an order on terms, such as on account, instead of taking payment at checkout. See `,_jsx(_components.a,{href:`/2.x/reference/payments#payment-terms`,children:`Payment terms`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Customer notifications`}),`: Lunar sends default emails across the order lifecycle, with templates and copy that a store can customize or replace. See `,_jsx(_components.a,{href:`/2.x/reference/notifications`,children:`Notifications`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Persisted cart totals`}),`: a calculated cart stores its totals, so later reads serve them without running the calculation again until the cart changes. See `,_jsx(_components.a,{href:`/2.x/reference/carts#persisted-totals`,children:`Persisted totals`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Remembered guest carts`}),`: a long-lived cookie restores a guest’s cart after their session expires. See `,_jsx(_components.a,{href:`/2.x/reference/carts#remembering-guest-carts`,children:`Remembering guest carts`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Calculation steps in code`}),`: the steps that price carts, create orders and validate carts are registered from a service provider through the `,_jsx(_components.code,{children:`Steps`}),` facade instead of config. See `,_jsx(_components.a,{href:`/2.x/extending/carts#registering-calculation-steps`,children:`Registering calculation steps`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`discounts`,children:`Discounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Coupon batches`}),`: a discount can have many codes, generated in batches for campaigns such as single-use codes. See `,_jsx(_components.a,{href:`/2.x/reference/discounts#generating-codes`,children:`Generating codes`}),` and the `,_jsx(_components.a,{href:`/2.x/guides/single-use-coupon-campaign`,children:`single-use coupon campaign guide`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per-customer limits for guests`}),`: per-customer usage limits now apply to guest checkout as well, matching customers by email. Usage is counted when the order is placed. See `,_jsx(_components.a,{href:`/2.x/reference/discounts#per-customer-limits`,children:`Per-customer limits`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reward lines follow the reward`}),`: lines that a Buy X Get Y discount adds to a cart are adjusted or removed when the cart no longer earns them.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`inventory`,children:`Inventory`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Selling flags`}),`: `,_jsx(_components.code,{children:`continue_selling`}),` and `,_jsx(_components.code,{children:`sell_against_incoming`}),` on each variant replace the selling policy and its backorder allowance. See `,_jsx(_components.a,{href:`/2.x/reference/inventory#sellability`,children:`Sellability`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Incoming stock`}),`: the stock a location expects to receive can be set by hand, and the panel edits it inline. See `,_jsx(_components.a,{href:`/2.x/reference/inventory#setting-incoming-stock`,children:`Setting incoming stock`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`search`,children:`Search`}),`\n`,_jsxs(_components.p,{children:[`Search requests and results now run through configurable pipelines, so a store can add its own stages and pass engine-specific parameters. Product codes match whether or not a customer types their hyphens. See `,_jsx(_components.a,{href:`/2.x/addons/search#pipelines`,children:`Pipelines`}),` and `,_jsx(_components.a,{href:`/2.x/addons/search#product-code-search`,children:`Product code search`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`admin-panel`,children:`Admin panel`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Products edit through drafts`}),`: product edits autosave as a draft with field-level conflict detection, like the other first-party edit pages. See `,_jsx(_components.a,{href:`/2.x/admin/extending/edit-drafts`,children:`Edit Drafts`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Form slices`}),`: add-ons can add their own fields to first-party create, edit and settings forms. See `,_jsx(_components.a,{href:`/2.x/admin/extending/form-slices`,children:`Form Slices`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Table-rate shipping`}),`: shipping zones, methods and exclusion lists are managed in the Inertia panel under Settings > Shipping. See `,_jsx(_components.a,{href:`/2.x/addons/table-rate-shipping`,children:`Table Rate Shipping`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Attribute descriptions`}),`: attributes can carry helper text that staff see under the field on every edit page. See `,_jsx(_components.a,{href:`/2.x/reference/attributes#descriptions`,children:`Descriptions`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-stable-schema`,children:`A stable schema`}),`\n`,_jsxs(_components.p,{children:[`During the alphas, schema changes were folded into the 2.0 baseline migrations. From 2.0.0-beta.1, the baseline migrations no longer change: every schema change ships as a new migration that `,_jsx(_components.code,{children:`php artisan migrate`}),` runs.`]}),`\n`,_jsxs(_components.p,{children:[`An application installed on an alpha needs one catch-up migration to reach the beta schema. The `,_jsx(_components.a,{href:`/2.x/getting-started/overview/alpha-upgrade-guide`,children:`alpha upgrade guide`}),` lists every change by release.`]}),`\n`,_jsx(Heading,{level:`2`,id:`installing`,children:`Installing`}),`\n`,_jsxs(_components.p,{children:[`Until 2.0.0 is released, require each `,_jsx(_components.code,{children:`lunarphp/*`}),` package with the `,_jsx(_components.code,{children:`^2.0@beta`}),` constraint:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`composer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` require`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lunarphp/core:^2.0@beta`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lunarphp/panel:^2.0@beta`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/2.x/getting-started/setup/installation`,children:`installation guide`}),` for the full steps, and the `,_jsx(_components.a,{href:`/2.x/getting-started/overview/upgrade-guide`,children:`upgrade guide`}),` to move a 1.x store.`]}),`\n`,_jsx(Heading,{level:`2`,id:`feedback`,children:`Feedback`}),`\n`,_jsxs(_components.p,{children:[`Beta feedback is welcome through `,_jsx(_components.a,{href:`https://github.com/lunarphp/lunar/discussions`,children:`GitHub Discussions`}),` or the `,_jsx(_components.a,{href:`https://lunarphp.com/discord`,children:`Discord`}),` community.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://github.com/lunarphp/lunar/releases/tag/2.0.0-beta.2`,children:`View the full release on GitHub`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Lunar 2.0 beta","sidebarTitle":"2.0 beta","date":"2026-12-01","description":"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.","href":"/logs/2026/v2-0-0-beta"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What’s new","slug":"what’s-new","depth":2,"children":[{"title":"Checkout and orders","slug":"checkout-and-orders","depth":3,"children":[]},{"title":"Discounts","slug":"discounts","depth":3,"children":[]},{"title":"Inventory","slug":"inventory","depth":3,"children":[]},{"title":"Search","slug":"search","depth":3,"children":[]},{"title":"Admin panel","slug":"admin-panel","depth":3,"children":[]}]},{"title":"A stable schema","slug":"a-stable-schema","depth":2,"children":[]},{"title":"Installing","slug":"installing","depth":2,"children":[]},{"title":"Feedback","slug":"feedback","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/lunar-b8371d04/43e98106a0b337d4/tally-embed.js"],"subdomain":"lunar-b8371d04","siteName":"Lunar PHP","title":"Lunar 2.0 beta - Lunar PHP","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1.x":{"href":"/logs/2026/v2-0-0-beta","matchLevel":0},"v2.x (beta)":{"href":"/logs/2026/v2-0-0-beta","matchLevel":0},"v0.x":{"href":"/0.x/getting-started/overview/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T12:46:47.629Z","originalFileLocation":"logs/2026/v2-0-0-beta.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lunar PHP\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lunar 2.0 beta - Lunar PHP\">\u003cmeta data-mint-head property=\"og:description\" content=\"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lunar PHP\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lunar-b8371d04.mintlify.site/_mintlify/api/og/v2?division=Mission+Log\u0026amp;title=Lunar+2.0+beta\u0026amp;description=Lunar+2.0+reaches+beta%2C+with+per-line+fulfilment+choice+and+pickup+locations%2C+payment+terms%2C+coupon+batches%2C+new+selling+flags%2C+and+a+stable+database+schema.\u0026amp;theme=cf06fc1a48ca28450a5a669d\u0026amp;signature=2884cae84e46c08c075c494412d36180f143e21dc7b313e06df09980d972a292\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Lunar 2.0 beta - Lunar PHP\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lunar-b8371d04.mintlify.site/_mintlify/api/og/v2?division=Mission+Log\u0026amp;title=Lunar+2.0+beta\u0026amp;description=Lunar+2.0+reaches+beta%2C+with+per-line+fulfilment+choice+and+pickup+locations%2C+payment+terms%2C+coupon+batches%2C+new+selling+flags%2C+and+a+stable+database+schema.\u0026amp;theme=cf06fc1a48ca28450a5a669d\u0026amp;signature=2884cae84e46c08c075c494412d36180f143e21dc7b313e06df09980d972a292\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lunar-b8371d04/VkxpWOT1bm2GLFiZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lunar PHP\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4bc7f8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/logs/2026/v2-0-0-beta.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lunarphp.com/#organization\",\"name\":\"Lunar PHP\",\"url\":\"https://docs.lunarphp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lunar-b8371d04/ZhguENt7LP0pq4Z_/logo/lunar-logo.svg?fit=max\u0026auto=format\u0026n=ZhguENt7LP0pq4Z_\u0026q=85\u0026s=c996daa3fdcce9daab23698d2d23a13a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lunarphp.com#website\",\"name\":\"Lunar PHP\",\"url\":\"https://docs.lunarphp.com\",\"publisher\":{\"@id\":\"https://docs.lunarphp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta#webpage\",\"url\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta\",\"name\":\"Lunar 2.0 beta\",\"description\":\"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\",\"dateModified\":\"2026-12-01T12:46:47.629Z\",\"isPartOf\":{\"@id\":\"https://docs.lunarphp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lunar PHP\",\"item\":\"https://docs.lunarphp.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lunar 2.0 beta\",\"item\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta#article\",\"headline\":\"Lunar 2.0 beta\",\"name\":\"Lunar 2.0 beta\",\"description\":\"Lunar 2.0 reaches beta, with per-line fulfilment choice and pickup locations, payment terms, coupon batches, new selling flags, and a stable database schema.\",\"url\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lunarphp.com/logs/2026/v2-0-0-beta#webpage\"},\"dateModified\":\"2026-12-01T12:46:47.629Z\",\"publisher\":{\"@id\":\"https://docs.lunarphp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lunarphp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lunar PHP\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lunar PHP\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/logs/2026/v2-0-0-beta.md","siteName":"Lunar PHP","nav":{"global":null,"versions":[{"version":"v1.x","tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/1.x/getting-started/overview/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/1.x/guides/catalog-menu"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/1.x/reference/associations"}]},{"tab":"Admin Panel","pages":[{"title":"Admin Panel","href":"/1.x/admin/introduction"}]},{"tab":"Add-ons","pages":[{"title":"Add-ons","href":"/1.x/addons/table-rate-shipping"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/community"}]},{"tab":"Flight Plan","groups":[{"group":"Trajectory","pages":[{"title":"Lunar Flight Plan","sidebarTitle":"Flight Plan","description":"Where Lunar is heading through the v2 cycle: what has shipped, what is next, and what follows.","href":"/logs/flight-plan"}]},{"group":"Mission Log","pages":[{"title":"Lunar 2.0 beta","sidebarTitle":"2.0 beta","href":"/logs/2026/v2-0-0-beta"},{"title":"Lunar 2.0 alpha","sidebarTitle":"2.0 alpha","description":"The first alpha of Lunar 2.0, with a new Inertia.js admin panel, fulfilments, per-location inventory, regions, and a rebuilt pricing engine.","href":"/logs/2026/v2-0-0-alpha"},{"title":"Lunar 1.5.0","sidebarTitle":"1.5.0","href":"/logs/2026/v1-5-0"},{"title":"Lunar 1.4.0","sidebarTitle":"1.4.0","href":"/logs/2026/v1-4-0"},{"title":"Lunar 1.5.0-beta.4","sidebarTitle":"1.5.0-beta.4","href":"/logs/2026/v1-5-0-beta-4"},{"title":"Lunar 1.5.0-beta.3","sidebarTitle":"1.5.0-beta.3","href":"/logs/2026/v1-5-0-beta-3"},{"title":"Lunar 1.5.0-beta.2","sidebarTitle":"1.5.0-beta.2","href":"/logs/2026/v1-5-0-beta-2"},{"title":"Lunar 1.5.0-beta.1","sidebarTitle":"1.5.0-beta.1","href":"/logs/2026/v1-5-0-beta-1"},{"title":"Welcome to the New Lunar Docs","sidebarTitle":"New Documentation","href":"/logs/2025/new-docs"}]}]}]},{"version":"v2.x (beta)","tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/2.x/getting-started/overview/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/2.x/guides/catalog-menu"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/2.x/reference/associations"}]},{"tab":"Admin Panel","pages":[{"title":"Admin Panel","href":"/2.x/admin/introduction"}]},{"tab":"Add-ons","pages":[{"title":"Add-ons","href":"/2.x/addons/filament/overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/community"}]},{"tab":"Flight Plan","groups":[{"group":"Trajectory","pages":[{"title":"Lunar Flight Plan","sidebarTitle":"Flight Plan","description":"Where Lunar is heading through the v2 cycle: what has shipped, what is next, and what follows.","href":"/logs/flight-plan"}]},{"group":"Mission Log","pages":[{"title":"Lunar 2.0 beta","sidebarTitle":"2.0 beta","href":"/logs/2026/v2-0-0-beta"},{"title":"Lunar 2.0 alpha","sidebarTitle":"2.0 alpha","description":"The first alpha of Lunar 2.0, with a new Inertia.js admin panel, fulfilments, per-location inventory, regions, and a rebuilt pricing engine.","href":"/logs/2026/v2-0-0-alpha"}]}]}]},{"version":"v0.x","pages":[{"title":"v0.x","href":"/0.x/getting-started/overview/introduction"}]}]},"basePath":"","title":"Lunar 2.0 beta - Lunar PHP","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}