Cartxis is an open-source, AI-powered eCommerce platform built with Laravel, Inertia.js, and Flutter. It features modular architecture, web + mobile apps, and built-in AI Commerce agents for product content, pricing insights, and automation.
cartxis is an early-stage Vue project in the AI payments / x402 ecosystem, focused on ai-commerce, ecommerce, ecommerce-platform, ecommerce-shopping-solution. It currently has 8 GitHub stars and 2 forks, and sits alongside related tools like awesome-agentic-commerce, ORBEXA, medusa-agent-skills.
A modern, extensible eCommerce platform built with Laravel 13, Inertia.js, Vue 3.5, and TypeScript. Cartxis provides a complete solution for building online stores with a powerful admin panel, flexible theme system, and modular architecture.
| Gateway | Status |
|---|---|
| Stripe | ✅ Supported |
| Razorpay | ✅ Supported |
| PayPal | ✅ Supported |
| PhonePe | ✅ Supported |
| PayUMoney | ✅ Supported |
The Cartxis Mobile App is live and open source! Download it or explore the source:
| Platform | Link |
|---|---|
| Android (Google Play) | Download on Google Play |
| Source Code | github.com/wontonee/cartxis-mobile |
The app is powered by a full REST API and supports:
Google Play Store (and Apple App Store) require apps that support account creation to provide a publicly accessible account deletion page as part of their Data Safety policy.
Cartxis includes this page out of the box. When submitting your app, use the following URL pattern:
https://yourdomain.com/account-deletion
Example: https://shop.example.com/account-deletion
This page:
[email protected]) for users who cannot log inIn the Google Play Console → App content → Data safety, paste this URL in the "Delete account URL" field.
| Requirement | Version |
|---|---|
| PHP | 8.3 or higher |
| Composer | 2.x |
| Node.js | 18.x or higher |
| NPM | 9.x or higher |
| MySQL | 8.0 or higher |
Required PHP extensions: OpenSSL, PDO, Mbstring, Tokenizer, XML, Ctype, JSON, BCMath
The fastest way to get Cartxis running:
composer create-project cartxis/cartxis my-store
cd my-store
php artisan cartxis:install
The interactive installer will guide you through:
Once complete, the installer displays your admin panel URL, email, and password.
During install, Cartxis registers a free API key with the official theme catalog at https://cartxis.com/api. This enables Admin → Appearance → Browse Themes for one-click theme installs.
If registration fails during install (offline server, firewall, etc.):
# Ensure .env uses the non-www URL
CARTXIS_THEME_DIRECTORY_URL=https://cartxis.com/api
php artisan theme:directory:register
See docs/THEMES.md for installing themes, customization, and troubleshooting.
If you see blank pages or asset errors after the setup wizard, the frontend build may not have completed yet. Fix it by running:
npm run build php artisan optimize:clear # or if you use Yarn: yarn build
Use this method if you are contributing to or developing on Cartxis.
git clone https://github.com/cartxis/cartxis.git
cd cartxis
composer install
npm install
cp .env.example .env
php artisan key:generate
Create a MySQL database:
CREATE DATABASE cartxis CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Update your .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=cartxis
DB_USERNAME=your_username
DB_PASSWORD=your_password
php artisan cartxis:install
Or manually run migrations and seed:
php artisan migrate --seed
Note: When seeding manually, provide admin credentials via environment variables:
CARTXIS_ADMIN_NAME="Admin" \ CARTXIS_ADMIN_EMAIL="[email protected]" \ CARTXIS_ADMIN_PASSWORD="yourpassword" \ php artisan db:seed
Development (watch mode):
npm run dev
Production build:
npm run build
php artisan serve
Visit http://localhost:8000 for the storefront and http://localhost:8000/admin/login for the admin panel.
Email (SMTP) settings are configured directly in the Admin Panel — no .env changes required.
All payment gateway credentials are configured directly in the Admin Panel — no .env changes required.
Your credentials are stored securely in the database and managed entirely through the admin interface.
Configure your store through the admin panel:
packages/Cartxis/
├── Admin/ # Admin panel — controllers, views, assets
├── Cart/ # Shopping cart management
├── CMS/ # Content pages and blocks
├── Core/ # Core utilities, installer command, service providers
├── UIEditor/ # Visual drag-and-drop page builder
├── Customer/ # Customer profiles and authentication
├── Marketing/ # Promotions, coupons, and tools
├── PayPal/ # PayPal payment integration
├── PayUMoney/ # PayUMoney payment integration
├── PhonePe/ # PhonePe payment integration (SDK bundled)
├── Product/ # Product catalog, variants, attributes
├── Razorpay/ # Razorpay payment integration
├── Reports/ # Sales, inventory, and customer reports
├── Sales/ # Orders and sales management
├── Settings/ # System and store settings
├── Setup/ # First-run setup wizard
├── Shop/ # Frontend storefront
├── Stripe/ # Stripe payment integration
└── System/ # System health and utilities
Cartxis ships with a powerful visual drag-and-drop page builder that lets you design storefront pages and reusable regions without writing code.
Manage CMS pages and your store's homepage through a full visual editing workflow:
Layouts are a three-level tree stored as JSON:
Page → Sections → Columns → Blocks
| Category | Block Types |
|---|---|
| Layout | spacer, divider |
| Text & Content | heading, text, image, button, video, form, table, card, html, code, accordion, tabs, icon_box, counter, social_links, author_card, share_buttons |
| Commerce | hero, slider, products_grid, categories_grid, newsletter, pricing, testimonials |
| Blog | post_featured, post_list, post_carousel, blog_posts_grid |
| Regions | global_region |
Create reusable layout areas (header, footer, sidebar, banner, section) that are embedded into any page via the global_region block. Updating a global region propagates instantly to every page that references it.
Default seeded regions: Main Header and Main Footer.
Save any section or individual block as a reusable template. Saved blocks appear in the block palette under the Saved tab and can be inserted into any page — ideal for promotional banners, CTA strips, or complex product grids you want to maintain consistently.
The UIBlockRenderer Vue component is shared across all themes. When a published layout exists for a page, it is rendered visually via the block renderer; if no published layout exists the platform falls back gracefully to raw HTML, preserving backward compatibility.
Storefront themes are templates under templates/storefront/{category}/{slug}/. The default cartxis-default theme is bundled; additional themes (e.g. Dmart Electronics) install from the remote catalog.
php artisan theme:list
php artisan template:install dmart-electronics --activate
php artisan theme:discover
php artisan theme:directory:register
php artisan optimize:clear && npm run build # manual recovery
| Issue | Quick fix |
|---|---|
| Broken CSS / missing sidebar after theme change | Hard-refresh browser; re-activate theme in admin or run optimize:clear + npm run build |
| “Template page not found” | npm run build (theme pages are bundled at build time) |
| Theme directory key failed on install | Set CARTXIS_THEME_DIRECTORY_URL=https://cartxis.com/api (no www), run theme:directory:register |
Remote install broke npm run build |
php artisan theme:discover (removes macOS ZIP junk), then npm run build |
Full guide: docs/THEMES.md · API reference: docs/THEME_DIRECTORY_API.md
Storefront templates live under templates/storefront/{category}/{slug}/. The default template is templates/storefront/general/cartxis-default/.
cp -r templates/storefront/general/cartxis-default templates/storefront/general/your-theme-name
Update config/theme.php (or activate via Admin → Appearance):
'default' => 'your-theme-name',
Customise:
templates/storefront/general/your-theme-name/resources/views/pages/templates/storefront/general/your-theme-name/resources/views/components/templates/storefront/general/your-theme-name/resources/views/layouts/templates/storefront/general/your-theme-name/data/theme-data.jsonDiscover and register templates:
php artisan theme:discover
php artisan theme:import-data cartxis-default
npm run build # required after adding/changing theme Vue pages
After installing or activating any theme in admin, Cartxis runs discover, optimize:clear, and npm run build automatically when CARTXIS_THEME_REBUILD_ASSETS=true (default).
# Run all tests
./vendor/bin/pest
# Feature tests only
./vendor/bin/pest tests/Feature
# With coverage
./vendor/bin/pest --coverage
APP_ENV=production and APP_DEBUG=false in .envcomposer install --optimize-autoloader --no-devnpm ci && npm run buildphp artisan migrate --forcephp artisan theme:discoverphp artisan config:cachephp artisan route:cachephp artisan view:cachechmod -R 755 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache
public/After installing or activating a theme on production, run
php artisan optimize:clearandnpm run build— or activate the theme from admin (triggers this automatically). See docs/THEMES.md.
php artisan queue:work
Use Supervisor in production to keep queue workers running.
Add to crontab:
* * * * * cd /path-to-cartxis && php artisan schedule:run >> /dev/null 2>&1
./vendor/bin/phpcsnpm run lintphp artisan optimize:clear
See EXTENSION-DEVELOPMENT-GUIDE.md for the full guide on building Cartxis extension packages.
Contributions are welcome!
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-featurePlease follow PSR-12 for PHP, write tests for new features, and update documentation as needed.
| Channel | Link |
|---|---|
| Website | https://www.cartxis.com |
| [email protected] | |
| Issues | GitHub Issues |
| Discussions | GitHub Discussions |
| Guide | Description |
|---|---|
| docs/THEMES.md | Install, activate, customize & troubleshoot themes |
| docs/THEME_DIRECTORY_API.md | Remote theme catalog API & env vars |
| docs/USER_GUIDE.md | Full admin user manual |
| docs/QUICK_REFERENCE.md | Developer commands & architecture |
| docs/ARCHITECTURE.md | Package map & data flows |
| docs/UPGRADE.md | Version upgrades |
For billing, licensing, or partnership enquiries, contact us at [email protected].
php artisan cartxis:install)Cartxis is open-source software licensed under the MIT License.
Made with ❤️ by the Wontonee Team
A curated list of awesome agentic commerce resources — protocols, MCP servers, tools, apps, APIs and services for AI agents that shop, sell and transact. For store owners, developers, agencies and marketers.
ORBEXA - AI Commerce Infrastructure | Enable AI agents to shop for users through UCP/ACP/MCP protocols. One-click integration, zero payment handling.
Agent skills and commands for Medusa best practices and conventions.