selveq / cms-graphql
Magento 2 CMS GraphQl extension for ScandiPWA theme
2.0.0
2026-09-18 20:13 UTC
Requires
- php: ^8.3
- magento/framework: ^103.0
- magento/module-cms: ^104.0
- magento/module-cms-graph-ql: ^100.4
- magento/module-email: ^101.1
- magento/module-store: ^101.1
- magento/module-variable: ^100.4
- magento/module-widget: ^101.2
- selveq/persisted-query: ^4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
README
Fork of scandipwa/cms-graphql 1.4.7, maintained by Selveq for Magento 2.4.9 and PHP 8.3. Module name and namespace are unchanged, and the package replaces scandipwa/cms-graphql at every version, so it installs as a drop-in replacement. Selveq is not affiliated with or endorsed by Scandiweb.
What it does
- Gives a CMS page a width: a
page_widthcolumn oncms_page, a Width select in the admin page form and listing, andpage_widthon theCmsPagetype. - Resolves a page by its URL key, so
cmsPage(url_key: "home")answers the page core answers only foridentifier. - Answers
disabled: truefor a switched-off CMS block instead of a not-found error, by identifier or by numeric id alike, so the storefront can tell an absent block from a disabled one. - Returns the whitelisted
{{widget}}directives — Slider, New Products, Catalog Product List and Recently Viewed — as<widget>elements carrying their parameters, for the theme to render rather than the server.
Install
composer require selveq/cms-graphql bin/magento setup:upgrade
License
OSL-3.0, the license of the original work. Scandiweb's copyright notices are kept in every file, and each file Selveq changed carries a Modifications © Selveq notice.