PHPackages                             diglin/orocommerce-auto-customergroup-assignment - 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. diglin/orocommerce-auto-customergroup-assignment

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

diglin/orocommerce-auto-customergroup-assignment
================================================

OroCommerce Bundle to automatically assign a customer group to a newly created customer.

1.0.4(2y ago)0285EUPL-1.2PHPPHP &gt;=7.4.0 &lt;8.3

Since Jun 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/diglin/OroAutoCustomerGroup)[ Packagist](https://packagist.org/packages/diglin/orocommerce-auto-customergroup-assignment)[ RSS](/packages/diglin-orocommerce-auto-customergroup-assignment/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (1)Versions (8)Used By (0)

Diglin\\AutoCustomerGroupBundle
===============================

[](#diglinautocustomergroupbundle)

This OroCommerce bundle allows you to automatically assign a customer to a customer group when the customer is newly created and no customer group is already assign to him.

It can be interesting to use this feature for the following cases, for example:

- You setup OroCommerce for B2C and needs to assign a tax code to customers
- Your B2B customers needs to have specific Payment Terms automatically assigned by default

As those previous cases can be done by setting a customer group configuration, making that automatically can save to the merchant time and errors.

**NOTE**: tested and developed on Community edition. It will work also on the Enterprise version, however it has not been tested to know if it supports multiple websites or multiple organisations features. If you are interested for those cases, let us know and we will go through it.

Installation
------------

[](#installation)

```
composer require diglin/orocommerce-auto-customergroup-assignment
bin/console --env=prod cache:clear
bin/console --env=prod oro:process:configuration:load

```

Configuration
-------------

[](#configuration)

Go to the admin, then select the menu System &gt; Configuration &gt; Commerce &gt; Customer Group. Choose the customer group you want to assign a customer.

[![img](Resources/doc/assets/customer_group_assignment.png)](Resources/doc/assets/customer_group_assignment.png)

Requirements
------------

[](#requirements)

Message consumer of Oro messages must be correctly configured, meaning, it must run in background. `bin/console --env=prod oro:message-queue:consume`

And you may want to add an additional customer group different as the one for guest `Non-Authenticated Visitors`

Usage
-----

[](#usage)

Create a new customer from backend or frontend, wait few seconds or minutes and refresh the customer view page in backend to see the change happens.

Known issues
------------

[](#known-issues)

- None

License
-------

[](#license)

See [LICENSE.txt](./LICENSE.txt)

Author
------

[](#author)

- Diglin GmbH
-
- [@diglin\_](https://twitter.com/diglin_)
- [Follow us on github!](https://github.com/diglin)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance56

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% of commits — single point of failure

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 ~178 days

Total

5

Last Release

1070d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.0.4PHP &gt;=7.4.0 &lt;8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46659068?v=4)[Diglin](/maintainers/diglin)[@diglin](https://github.com/diglin)

---

Top Contributors

[![sylvainraye](https://avatars.githubusercontent.com/u/1337461?v=4)](https://github.com/sylvainraye "sylvainraye (5 commits)")[![programgames](https://avatars.githubusercontent.com/u/18596429?v=4)](https://github.com/programgames "programgames (2 commits)")

---

Tags

oro

### Embed Badge

![Health badge](/badges/diglin-orocommerce-auto-customergroup-assignment/health.svg)

```
[![Health](https://phpackages.com/badges/diglin-orocommerce-auto-customergroup-assignment/health.svg)](https://phpackages.com/packages/diglin-orocommerce-auto-customergroup-assignment)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

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