PHPackages                             bluethinkinc/restrictstate - 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. bluethinkinc/restrictstate

ActiveMagento2-module

bluethinkinc/restrictstate
==========================

Bluethink Magento 2 restrict state module

1.0.0(3y ago)019proprietaryPHP

Since Dec 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bluethinkstore/magento-2-restrict-state)[ Packagist](https://packagist.org/packages/bluethinkinc/restrictstate)[ RSS](/packages/bluethinkinc-restrictstate/feed)WikiDiscussions main Synced 1mo ago

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

Module Bluethink RestrictState
==============================

[](#module-bluethink-restrictstate)

Main Functionalities
--------------------

[](#main-functionalities)

- This module is used to remove states/provinces of any countires from the Region field on checkout and customer account section.

### Type 1: Zip file

[](#type-1-zip-file)

- Download .zip file and extract to `app/code/Bluethinkinc` folder. If Bluethinkinc folder does not exist then create it in your `app/code` folder.
- Enable the module by running `php bin/magento module:enable Bluethinkinc_RestrictState`
- Apply database updates by running `php bin/magento setup:upgrade`
- Compilation by running `php bin/magento setup:di:compile`
- Static content deploy by running `php bin/magento setup:static-content:deploy`
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Run command `composer require bluethinkinc/restrictstate` in your project root folder.
- Enable the module by running `php bin/magento module:enable Bluethinkinc_RestrictState`
- Apply database updates by running `php bin/magento setup:upgrade`
- Compilation by running `php bin/magento setup:di:compile`
- Static content deploy by running `php bin/magento setup:static-content:deploy`
- Flush the cache by running `php bin/magento cache:flush`

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

[](#configuration)

- For setting to remove states/provinces of any countires from the Region field. Go To (Magento Admin -&gt; Stores -&gt; Configuration -&gt; General -&gt; General -&gt; State Restriction) [![Configuration Setting](./docs/config_setting.png)](./docs/config_setting.png)
- Select the States you want to disallow and Save Config.

Preview Before
--------------

[](#preview-before)

- Address Book State/Provinces before setting saved [![Address Book State/Provinces before setting saved](docs/address_book_before.png)](docs/address_book_before.png)
- Checkout Page State/Provinces before setting saved [![Checkout Page State/Provinces before setting saved](docs/checkout_before.png)](docs/checkout_before.png)

Preview After
-------------

[](#preview-after)

- Address Book State/Provinces after setting saved [![Address Book State/Provinces after setting saved](docs/address_book_after.png)](docs/address_book_after.png)
- Checkout Page State/Provinces after setting saved [![Checkout Page State/Provinces after setting saved](./docs/checkout_after.png)](./docs/checkout_after.png)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1249d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47f917c9855247846fc76db42736e977622e4058cad28f99e9c76941fb8c8d7d?d=identicon)[bluethink-bt](/maintainers/bluethink-bt)

---

Top Contributors

[![bluethinkstore](https://avatars.githubusercontent.com/u/7408938?v=4)](https://github.com/bluethinkstore "bluethinkstore (8 commits)")

### Embed Badge

![Health badge](/badges/bluethinkinc-restrictstate/health.svg)

```
[![Health](https://phpackages.com/badges/bluethinkinc-restrictstate/health.svg)](https://phpackages.com/packages/bluethinkinc-restrictstate)
```

PHPackages © 2026

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