PHPackages                             bagisto/b2b-suite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. bagisto/b2b-suite

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

bagisto/b2b-suite
=================

A comprehensive B2B Suite extension for Bagisto, providing company management, customer-company associations, and role-based permissions.

v2.0.1(1w ago)161.4k↑937.5%14MITPHPPHP ^8.1

Since Jun 11Pushed 1w agoCompare

[ Source](https://github.com/bagisto/b2b-suite)[ Packagist](https://packagist.org/packages/bagisto/b2b-suite)[ RSS](/packages/bagisto-b2b-suite/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (2)DependenciesVersions (6)Used By (0)

 [![](https://camo.githubusercontent.com/c10d7dd360819c9917061f042c69f1c3709060da3678c4cce24b7d926d534186/68747470733a2f2f6261676973746f2e636f6d2f77702d636f6e74656e742f7468656d65732f6261676973746f2f696d616765732f6c6f676f2e706e67)](https://camo.githubusercontent.com/c10d7dd360819c9917061f042c69f1c3709060da3678c4cce24b7d926d534186/68747470733a2f2f6261676973746f2e636f6d2f77702d636f6e74656e742f7468656d65732f6261676973746f2f696d616765732f6c6f676f2e706e67)

Open Source B2B Ecommerce Platform
----------------------------------

[](#open-source-b2b-ecommerce-platform)

 [![Packagist Downloads](https://camo.githubusercontent.com/1f9d02968ccef1450ce6944d480847a41acad0a5b0a306f42e6128525628216f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261676973746f2f6232622d7375697465)](https://camo.githubusercontent.com/1f9d02968ccef1450ce6944d480847a41acad0a5b0a306f42e6128525628216f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261676973746f2f6232622d7375697465) [![License](https://camo.githubusercontent.com/ba1d23b8a32b4044c7744b85bd9bb3b80cce61e73ff95ed0480496ef2d9e2a64/68747470733a2f2f706f7365722e707567782e6f72672f6261676973746f2f6232622d73756974652f6c6963656e73652e737667)](https://packagist.org/packages/bagisto/b2b-suite)

---

### 1. Introduction:

[](#1-introduction)

The **Bagisto B2B Ecommerce** is an open-source package designed to extend the Bagisto eCommerce platform with advanced Business-to-Business (B2B) capabilities. It enables companies to register their organization, manage multiple users, and handle the entire purchasing process from a single, unified dashboard.

Powerful tools such as **Quick Order**, **Requisition Lists**, and **Request for Quote (RFQ)** make buying faster, simpler, and better organized for business customers, even across large or repeat orders. With **role-based permissions**, companies can assign roles and control exactly what each user can access, ensuring a secure, transparent, and well-managed workflow across the entire team.

The platform also gives administrators fine-grained control over each company's experience through **Company Catalogs** (per-company product and category visibility with custom and quantity-tier pricing), **Company Credit** (a buy-now-pay-later account with an audited ledger and a *Pay By Credit* checkout method), **Sales Representatives** (assign admin users to manage specific companies and their negotiations), and **Company Attributes** (extend the company profile with custom fields).

This makes the Bagisto B2B Ecommerce an ideal fit for wholesalers, manufacturers, and distributors looking to run a scalable, flexible, and efficient online store tailored to business buyers.

[![Bagisto B2B Ecommerce Image](https://github.com/bagisto/temp-media/raw/master/intro-banner.webp)](https://github.com/bagisto/temp-media/blob/master/intro-banner.webp)

Key Features
------------

[](#key-features)

- **Company Registration &amp; Approval** – Companies can register from the storefront and manage their organization profile, with optional admin approval before activation.
- **Company User Management** – Companies can add new users directly or invite existing store customers to join their account.
- **Role-Based Permissions** – Create custom company roles and grant granular access control to users within the company.
- **Requisition Lists** – Save products to reusable lists for faster bulk and repeat ordering.
- **Quick Order** – Add multiple products to the cart instantly using SKUs or CSV upload.
- **Request for Quote (RFQ)** – Companies can submit quote requests directly from the cart on the storefront.
- **Quotation Handling** – End-to-end buyer–seller negotiation, with messaging, on both the storefront and admin.
- **Purchase Orders** – Track and manage procurement across the company, from both the storefront and admin.
- **Company Catalogs** – Per-company product and category visibility with custom flat, percentage, and quantity-tier pricing.
- **Company Credit (Pay By Credit)** – Per-company credit limits with an audited ledger, reimbursements, and a *Pay By Credit* checkout method.
- **Sales Representatives** – Assign admin users to manage specific companies and handle their negotiations.
- **Company Attributes** – Extend the company profile with custom fields, optionally shown on the registration form.
- **Companies Management (Admin End)** – Admins can create, approve, disable, and manage companies from the backend.
- **Localization &amp; RTL** – Full right-to-left support and translations for all 22 supported locales.

[![Bagisto B2B Ecommerce Features Image](https://github.com/bagisto/temp-media/raw/master/b2b-ecommerce-feature-list.webp)](https://github.com/bagisto/temp-media/blob/master/b2b-ecommerce-feature-list.webp)

Admin Configuration Options
---------------------------

[](#admin-configuration-options)

All B2B settings are grouped together under **Admin Panel → Configure → B2B Suite**, so you can control company onboarding, quotations, company credit, and email notifications from a single place.

**General**

- **Enable B2B Suite** – Master switch for the entire suite. When disabled, all B2B routes, menus, the company registration option, and every company-specific feature are hidden.
- **Require Company Approval** – When enabled, newly registered companies stay in a **Pending** state and cannot sign in until an administrator approves them.
- **Number Of Requisition Lists** – The maximum number of requisition lists each company is allowed to create.

**Quotations &amp; Purchase Orders**

- **Quotation Prefix / Purchase Order Prefix** – Prefixes used when generating quotation (`QO`) and purchase order (`PO`) numbers.
- **Default Padding** – Zero-padding applied to the auto-incrementing quotation / purchase order number.
- **Default Expiration Period &amp; Unit** – How long a quotation stays valid, in Days, Weeks, or Months.
- **Minimum Cart Amount &amp; Message** – The minimum cart total required before a customer can request a quote, and the message shown when it is not met.
- **Supported File Formats &amp; Maximum File Size** – Allowed attachment extensions and size limit for quotation uploads.

**Company Credit**

- **Enable Company Credit** – Lets companies with an assigned credit limit pay using the **Pay By Credit** method at checkout.

**B2B Email Notifications**

- Per-notification toggles for the entire B2B lifecycle — company registration/approval, sub-user management, credit updates, quotation negotiation, and purchase orders. Buyer emails go to the company; seller emails go to the assigned sales representative (or the store email).

[![Bagisto B2B Ecommerce Features Image](https://github.com/bagisto/temp-media/raw/master/b2b-ecommerce-admin-feature-list.webp)](https://github.com/bagisto/temp-media/blob/master/b2b-ecommerce-admin-feature-list.webp)

---

📖 Documentation &amp; Demo
--------------------------

[](#-documentation--demo)

- **User Guide:** [User Guide](https://docs.bagisto.com/b2b-ecommerce-platform/introduction.html)
- **Live Demo:** [Live Demo](https://demo.bagisto.com/b2b-suite)

### Feature Guides

[](#feature-guides)

GuideDescription[Configuration](https://docs.bagisto.com/b2b-ecommerce-platform/configuration.html)Enable and configure the suite, quotations, company credit, and email notifications.[Company Registration](https://docs.bagisto.com/b2b-ecommerce-platform/company-registration.html)Storefront company sign-up, sign in, and admin-side company management.[Role Based Permissions](https://docs.bagisto.com/b2b-ecommerce-platform/role-based-permissions.html)Custom company roles, company user management, and inviting existing customers.[Company Attributes](https://docs.bagisto.com/b2b-ecommerce-platform/company-attributes.html)Extend the company profile with custom fields and attribute mapping.[Company Catalog](https://docs.bagisto.com/b2b-ecommerce-platform/company-catalog.html)Per-company product/category visibility with custom and tier pricing.[Company Credit](https://docs.bagisto.com/b2b-ecommerce-platform/company-credit.html)Credit limits, audited ledger, reimbursements, and Pay By Credit checkout.[Sales Representative](https://docs.bagisto.com/b2b-ecommerce-platform/sales-representative.html)Assign admin users to manage specific companies and their negotiations.[Quick Order](https://docs.bagisto.com/b2b-ecommerce-platform/quick-order.html)Add products to the cart in bulk via SKU or CSV upload.[Requisition Lists](https://docs.bagisto.com/b2b-ecommerce-platform/requisition-lists.html)Save products to reusable lists for faster repeat ordering.[Request for Quote](https://docs.bagisto.com/b2b-ecommerce-platform/request-for-quote.html)Request custom pricing and negotiate from the cart.[Quotation Handling](https://docs.bagisto.com/b2b-ecommerce-platform/quotation-handling.html)End-to-end buyer–seller quotation negotiation and messaging.[Purchase Orders](https://docs.bagisto.com/b2b-ecommerce-platform/purchase-orders.html)Track and manage procurement from the storefront and admin.### 2. Requirements:

[](#2-requirements)

- **Bagisto**: v2.4.x
- **PHP**: 8.3 or higher

---

### 3. Installation:

[](#3-installation)

#### Step 1: Install via Composer

[](#step-1-install-via-composer)

```
composer require bagisto/b2b-suite
```

#### Step 2: Register the Service Provider

[](#step-2-register-the-service-provider)

Add the provider to the array returned by `bootstrap/providers.php` (Bagisto v2.4.x runs on Laravel 12, which registers providers here rather than in `config/app.php`):

> **Note:** Composer package auto-discovery is **not possible** for this provider. Order matters—`B2BSuiteServiceProvider` must be listed **after** the Shop package (or last in the array). Auto-discovery would load it too early, which can cause issues.

```
return [
    // ...other service providers
    Webkul\B2BSuite\Providers\B2BSuiteServiceProvider::class,
];
```

#### Step 3: Run the installation command

[](#step-3-run-the-installation-command)

```
php artisan b2b-suite:install
```

> That’s it! The package is now installed and ready to use in your Bagisto project.

#### Frontend assets

[](#frontend-assets)

The package **ships prebuilt admin &amp; shop theme bundles** (each core theme with the B2B views folded in). They are published automatically by `b2b-suite:install`, so a normal install **does not need Node, npm, or a Tailwind build**.

If you upgrade or customize the core **Shop/Admin** theme and notice any B2B styling breakage, just rebuild the bundles. `npm run build` writes the regenerated bundles straight into `public/themes/.../build`, so there's nothing else to publish. The build resolves the core themes relative to the app, so it works from `vendor/`.

> **Prerequisite:** the B2B build reuses the **Shop** and **Admin** theme dependencies (Vue plugin, theme JS), so make sure `npm install` has been run in **both** core theme packages first:
>
> ```
> ( cd packages/Webkul/Shop  && npm install )
> ( cd packages/Webkul/Admin && npm install )
> ```

```
cd vendor/bagisto/b2b-suite
npm install
npm run build   # rebuilds admin + shop directly into public/themes/.../build

php artisan optimize:clear
```

> Individual themes can be rebuilt with `npm run build:admin` or `npm run build:shop`(and `npm run dev:admin` / `npm run dev:shop` for hot-reload while developing).

---

### 4. License

[](#4-license)

The B2B Ecommerce is open-sourced software licensed under the **MIT License**.

---

### 5. Support

[](#5-support)

For issues, questions, or contributions, please contact the **[Webkul Team](https://webkul.com/contacts/)**.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance98

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

5

Last Release

3d ago

Major Versions

v1.0.0 → v2.0.02026-06-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/680982d0f4253ee1f7df370dc28852fe08dd6aab0cfae16f45d6ea026fdfbd02?d=identicon)[devansh.bawari419@webkul.com](/maintainers/devansh.bawari419@webkul.com)

---

Top Contributors

[![ashif322](https://avatars.githubusercontent.com/u/228488319?v=4)](https://github.com/ashif322 "ashif322 (46 commits)")[![devansh-webkul](https://avatars.githubusercontent.com/u/68321766?v=4)](https://github.com/devansh-webkul "devansh-webkul (36 commits)")[![girjesh-webkul](https://avatars.githubusercontent.com/u/107393206?v=4)](https://github.com/girjesh-webkul "girjesh-webkul (19 commits)")[![vaibhav-webkul10](https://avatars.githubusercontent.com/u/256021805?v=4)](https://github.com/vaibhav-webkul10 "vaibhav-webkul10 (1 commits)")

---

Tags

b2bbagisto-packagecommerceecommercelaravelopen-sourcephpplatformlaravelecommerceb2bbagistowebkul

### Embed Badge

![Health badge](/badges/bagisto-b2b-suite/health.svg)

```
[![Health](https://phpackages.com/badges/bagisto-b2b-suite/health.svg)](https://phpackages.com/packages/bagisto-b2b-suite)
```

###  Alternatives

[aimeos/aimeos-laravel

Cloud native, API first Laravel eCommerce package with integrated AI for ultra-fast online shops, marketplaces and complex B2B projects

8.7k225.1k5](/packages/aimeos-aimeos-laravel)[martbock/laravel-diceware

Diceware Passphrase Generator for Laravel

3271.1k](/packages/martbock-laravel-diceware)[ingria/laravel-x509-auth

Laravel 5 Client Certificate auth middleware

375.7k](/packages/ingria-laravel-x509-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
