Self-host Bagisto
v2.5.1Laravel commerce platform for online stores and marketplaces
docker run -d --name bagisto -p 80:80 webkul/bagisto:latest- Stars
- 28 355
- Port
- 80 (Storefront and admin panel over HTTP inside the production container (host mapping is -p 80:80))
webkul/bagistoWhat is Bagisto?
Bagisto is an open-source commerce framework written in PHP on Laravel with a Vue.js admin, maintained by Webkul and released under the MIT licence. It gives you a storefront plus an admin panel with catalog and custom product attributes, multi-warehouse stock, built-in CMS pages and banners, product SEO fields, discounts and coupons, and role-based permissions for admin users. The same codebase is used for multi-vendor marketplaces, B2B stores with company accounts and quote negotiation, and multi-tenant SaaS commerce, and it can drive headless front ends through its REST and GraphQL APIs; Elasticsearch, Varnish, full page cache and Laravel Octane are documented performance options. Self-hosting is straightforward: pull webkul/bagisto, an image that bundles Nginx, Apache or OpenLiteSpeed with MySQL, MariaDB or PostgreSQL already migrated and seeded, or install with composer create-project plus php artisan bagisto:install and serve the public directory. It needs PHP 8.4 and Composer 2, and Redis, Elasticsearch and S3/R2 media storage are optional extras. The container only speaks plain HTTP on port 80, so SSL is terminated at a reverse proxy in front of it, and the appliance image is around 2 GB. The core is free; paid extensions, themes and managed Bagisto Cloud Hosting are Webkul's business model, and the project also collects donations on Open Collective.
Bagisto alternatives
Spree CommerceSelf-hosted, open-source headless commerce platform with Store, Admin and Seller REST APIs, typed SDKs, a React admin and a Next.js storefront.CompareSpree Commerce with Bagisto
OpenCartSelf-hosted, open-source PHP ecommerce platform: run your own online store with multi-store admin, unlimited products, payment and shipping modules.CompareOpenCart with Bagisto
S-CartSelf-hosted open-source e-commerce on Laravel 13 with multi-language, CMS, payments, admin panel, MCP server for AI agents, and HMVC plugin marketplace.CompareS-Cart with Bagisto
abantecart-srcAbanteCart is a self-hosted, open-source PHP eCommerce platform for online stores with no licensing fees, offering multi-store management and extensions marketplace.Compareabantecart-src with Bagisto
AimeosLaravel shop distribution for online stores, multi-vendor marketplaces and B2B sites; self-hosted and open-source, with JSON REST, GraphQL and MCP APIs.CompareAimeos with Bagisto
MagentoSelf-hosted, open-source PHP ecommerce platform: storefront plus admin for catalog, orders and promotions. Installed with Composer on Linux against MariaDB, OpenSearch.CompareMagento with Bagisto
VendureOpen-source headless commerce platform built with TypeScript, NestJS, React, and GraphQLCompareVendure with Bagisto
Shopware Community EditionShopware is a self-hosted, open-source e-commerce platform on Symfony and Vue.js with API-first architecture and plugin ecosystem.CompareShopware Community Edition with Bagisto
Should you self-host Bagisto?
Bagisto scores 76/100 on selfhost.directory (how scoring works) and ranks #2 of 27 in E-commerce. It has 28 355 GitHub stars, +142 in the last 30 days.
It shipped 20 stable releases in the past year. The latest, v2.5.1, came out on 6 November 2026. New versions land roughly every 2 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in PHP.
Its closest alternative on selfhost.directory is MedusaJs (83/100, 37 168 stars). It scores higher overall, so compare the two before you pick. See Bagisto vs MedusaJs side by side.
Features
- B2B commerceDelivered as the Bagisto B2B eCommerce platform layered on a store.
- Built-in CMS
- Discounts & coupons
- Full page caching
- GraphQL APISame bagisto/bagisto-api package as the REST surface.
- Headless Commerce
- Multi-currency Support
- Multi-locale support
- Multi-tenancy
- Multi-vendor Marketplace
- Multi-warehouse Inventory
- Product SEO
- REST APIShipped as the separate bagisto/bagisto-api Composer package, not in the core repository.
- Role-based Access Control
Bagisto README
FAQ
Is Elasticsearch included in the Docker image?
No, Bagisto runs without it and falls back to database search; if you need it, run Elasticsearch separately and point Bagisto at it.
Why is the Bagisto Docker image around 2 GB?
It is an appliance image that bundles a fully installed, migrated and seeded Bagisto app together with the database server, PHP, Nginx and their runtime dependencies.
Is HTTPS supported directly in the production Docker container?
No, the container serves plain HTTP on port 80; a reverse proxy such as Nginx, Traefik or Caddy should terminate SSL in front of it.
Can I sell on other platforms with Bagisto?
Yes, multichannel selling connects the store to marketplaces, apps and social media.
What payment options can I connect with Bagisto?
Trusted partners such as PayPal and Paymob can be added, along with many other local and global payment gateways.
How can Generative AI help in my store?
Generative AI can draft product descriptions and content ideas quickly, saving time.
Can I improve my store's SEO with Bagisto?
Yes, SEO tooling covers meta titles, descriptions, keywords and search-engine-friendly URLs.
Does Bagisto support multiple languages and currencies?
Yes, multi-locale and multi-currency support is built in, which suits selling internationally.
Do I need coding skills to use Bagisto?
Most store setup and management needs no code; custom features can be handled by developers or added through extensions.
Can I build a marketplace with Bagisto?
Yes, using the Multivendor Marketplace capability, multiple sellers can manage their own products on your store.
What makes Bagisto different from other eCommerce platforms?
It is open source, fully customisable, and ships with capabilities such as multivendor support, product SEO and PWA.
More in Headless Commerce
Spree CommerceSelf-hosted, open-source headless commerce platform with Store, Admin and Seller REST APIs, typed SDKs, a React admin and a Next.js storefront.
yournextstoreOpen-source Next.js storefront template for Your Next Store: self-hosted commerce UI with Stripe checkout and a typed Commerce SDK, backed by the hosted YNS API.





0 comments